From: James Moger Date: Thu, 4 Sep 2014 23:49:09 +0000 (-0400) Subject: Bump the index version and update the LuceneVersion X-Git-Tag: v1.7.0~1^2~182^2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=3a4470aa445213ae113d50e2118ade03bb45acc8;p=gitblit.git Bump the index version and update the LuceneVersion --- diff --git a/src/main/java/com/gitblit/service/LuceneService.java b/src/main/java/com/gitblit/service/LuceneService.java index 482be5c6..3f7635f4 100644 --- a/src/main/java/com/gitblit/service/LuceneService.java +++ b/src/main/java/com/gitblit/service/LuceneService.java @@ -105,7 +105,7 @@ import com.gitblit.utils.StringUtils; public class LuceneService implements Runnable { - private static final int INDEX_VERSION = 5; + private static final int INDEX_VERSION = 6; private static final String FIELD_OBJECT_TYPE = "type"; private static final String FIELD_PATH = "path"; @@ -125,7 +125,7 @@ public class LuceneService implements Runnable { private static final String CONF_ALIAS = "aliases"; private static final String CONF_BRANCH = "branches"; - private static final Version LUCENE_VERSION = Version.LUCENE_46; + private static final Version LUCENE_VERSION = Version.LUCENE_4_10_0; private final Logger logger = LoggerFactory.getLogger(LuceneService.class);