From 065583353751a976d578d08e2d4525fdc1ee042a Mon Sep 17 00:00:00 2001 From: Florian Zschocke Date: Mon, 9 Jan 2017 14:43:46 +0100 Subject: Add library `lucene-backward-codecs` to migrate indices. To be able to read and migrate Lucene indices from old (4.x) formats to new (5.x) ones, add the `lucene-backward-codecs` library to the project. It is added to the `ext` directory and therefore to the classpath. According to the Lucene documentation, having it in the classpath can affect performance. But right now the `ext` directory is the only one available and even for a separate tool for offline migration the library would be needed. --- .classpath | 1 + build.moxie | 1 + gitblit.iml | 11 +++++++++++ 3 files changed, 13 insertions(+) diff --git a/.classpath b/.classpath index 42cbfbc8..5d96d16d 100644 --- a/.classpath +++ b/.classpath @@ -22,6 +22,7 @@ + diff --git a/build.moxie b/build.moxie index f21241d1..2748eab2 100644 --- a/build.moxie +++ b/build.moxie @@ -145,6 +145,7 @@ dependencies: - compile 'org.apache.wicket:wicket-auth-roles:${wicket.version}' :war !org.mockito - compile 'org.apache.wicket:wicket-extensions:${wicket.version}' :war !org.mockito - compile 'org.apache.lucene:lucene-core:${lucene.version}' :war :fedclient +- compile 'org.apache.lucene:lucene-backward-codecs:${lucene.version}' :war :fedclient - compile 'org.apache.lucene:lucene-analyzers-common:${lucene.version}' :war :fedclient - compile 'org.apache.lucene:lucene-highlighter:${lucene.version}' :war :fedclient !org.apache.lucene:lucene-join - compile 'org.apache.lucene:lucene-memory:${lucene.version}' :war :fedclient diff --git a/gitblit.iml b/gitblit.iml index 1f4aa248..25a4447d 100644 --- a/gitblit.iml +++ b/gitblit.iml @@ -190,6 +190,17 @@ + + + + + + + + + + + -- cgit v1.2.3