diff options
author | Florian Zschocke <florian.zschocke@devolo.de> | 2017-01-09 14:43:46 +0100 |
---|---|---|
committer | Florian Zschocke <florian.zschocke@devolo.de> | 2017-03-05 20:20:59 +0100 |
commit | 065583353751a976d578d08e2d4525fdc1ee042a (patch) | |
tree | 018e99263910f81a1eea5ac908f8c54ab8ccf10e | |
parent | 9795ce49e134db7026a856671c8cc7e9dc82e5f8 (diff) | |
download | gitblit-065583353751a976d578d08e2d4525fdc1ee042a.tar.gz gitblit-065583353751a976d578d08e2d4525fdc1ee042a.zip |
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.
-rw-r--r-- | .classpath | 1 | ||||
-rw-r--r-- | build.moxie | 1 | ||||
-rw-r--r-- | gitblit.iml | 11 |
3 files changed, 13 insertions, 0 deletions
@@ -22,6 +22,7 @@ <classpathentry kind="lib" path="ext/wicket-auth-roles-1.4.22.jar" sourcepath="ext/src/wicket-auth-roles-1.4.22.jar" /> <classpathentry kind="lib" path="ext/wicket-extensions-1.4.22.jar" sourcepath="ext/src/wicket-extensions-1.4.22.jar" /> <classpathentry kind="lib" path="ext/lucene-core-5.5.2.jar" sourcepath="ext/src/lucene-core-5.5.2.jar" /> + <classpathentry kind="lib" path="ext/lucene-backward-codecs-5.5.2.jar" sourcepath="ext/src/lucene-backward-codecs-5.5.2.jar" /> <classpathentry kind="lib" path="ext/lucene-analyzers-common-5.5.2.jar" sourcepath="ext/src/lucene-analyzers-common-5.5.2.jar" /> <classpathentry kind="lib" path="ext/lucene-highlighter-5.5.2.jar" sourcepath="ext/src/lucene-highlighter-5.5.2.jar" /> <classpathentry kind="lib" path="ext/lucene-memory-5.5.2.jar" sourcepath="ext/src/lucene-memory-5.5.2.jar" /> 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 @@ -191,6 +191,17 @@ </library> </orderEntry> <orderEntry type="module-library"> + <library name="lucene-backward-codecs-5.5.2.jar"> + <CLASSES> + <root url="jar://$MODULE_DIR$/ext/lucene-backward-codecs-5.5.2.jar!/" /> + </CLASSES> + <JAVADOC /> + <SOURCES> + <root url="jar://$MODULE_DIR$/ext/src/lucene-backward-codecs-5.5.2.jar!/" /> + </SOURCES> + </library> + </orderEntry> + <orderEntry type="module-library"> <library name="lucene-analyzers-common-5.5.2.jar"> <CLASSES> <root url="jar://$MODULE_DIR$/ext/lucene-analyzers-common-5.5.2.jar!/" /> |