From 53d7f492420d98183197e0d856f5764f5ce80777 Mon Sep 17 00:00:00 2001 From: James Moger Date: Fri, 15 Jun 2012 08:46:14 -0400 Subject: Update Lucene index version (issue 97) --- docs/04_releases.mkd | 2 ++ src/com/gitblit/LuceneExecutor.java | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/04_releases.mkd b/docs/04_releases.mkd index 8db8f7b1..a47c0861 100644 --- a/docs/04_releases.mkd +++ b/docs/04_releases.mkd @@ -12,6 +12,8 @@ #### changes +- **Updated Lucene index version which will force a rebuild of ALL your Lucene indexes** +Make sure to properly set *web.blobEncodings* before starting Gitblit if you are updating! (issue 97) - Changed default layout for web ui from fixed-width layout to responsive (issue 101) - IUserService interface has changed to better accomodate custom authentication and/or custom authorization - Updated Japanese translation (Github/zakki) diff --git a/src/com/gitblit/LuceneExecutor.java b/src/com/gitblit/LuceneExecutor.java index b3165434..81265f56 100644 --- a/src/com/gitblit/LuceneExecutor.java +++ b/src/com/gitblit/LuceneExecutor.java @@ -105,7 +105,7 @@ import com.gitblit.utils.StringUtils; public class LuceneExecutor implements Runnable { - private static final int INDEX_VERSION = 2; + private static final int INDEX_VERSION = 3; private static final String FIELD_OBJECT_TYPE = "type"; private static final String FIELD_ISSUE = "issue"; -- cgit v1.2.3