summaryrefslogtreecommitdiffstats
path: root/src/main/java
diff options
context:
space:
mode:
authorJames Moger <james.moger@gitblit.com>2014-09-04 19:49:09 -0400
committerJames Moger <james.moger@gitblit.com>2014-09-04 19:49:09 -0400
commit3a4470aa445213ae113d50e2118ade03bb45acc8 (patch)
tree9699f5fba8bf1f752d364506d6102f643dcc79d1 /src/main/java
parent140e54bf102b6923ba489dddfa4ab7c03d9065bb (diff)
downloadgitblit-3a4470aa445213ae113d50e2118ade03bb45acc8.tar.gz
gitblit-3a4470aa445213ae113d50e2118ade03bb45acc8.zip
Bump the index version and update the LuceneVersion
Diffstat (limited to 'src/main/java')
-rw-r--r--src/main/java/com/gitblit/service/LuceneService.java4
1 files changed, 2 insertions, 2 deletions
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);