Skip to content

Distributed Peer-to-Peer Web Search Engine and Intranet Search Appliance

index migration to lucene 4.4

Michael Peter Christen1a3e42eca4ce
diff --git a/defaults/solr/solrconfig.xml b/defaults/solr/solrconfig.xml
index b28d6ae09..4e9a622b9 100644
--- a/defaults/solr/solrconfig.xml
+++ b/defaults/solr/solrconfig.xml
@@ -35,7 +35,7 @@
that you fully re-index after changing this setting as it can
affect both how text is indexed and queried.
-->
- <luceneMatchVersion>LUCENE_40</luceneMatchVersion>
+ <luceneMatchVersion>4.4</luceneMatchVersion>
<!-- <lib/> directives can be used to instruct Solr to load an Jars
identified and use them to resolve any "plugins" specified in
diff --git a/source/net/yacy/search/index/Fulltext.java b/source/net/yacy/search/index/Fulltext.java
index 8ccbbb88e..423e2110c 100644
--- a/source/net/yacy/search/index/Fulltext.java
+++ b/source/net/yacy/search/index/Fulltext.java
@@ -85,8 +85,8 @@ import org.apache.solr.core.CoreContainer;
public final class Fulltext {
- private static final String SOLR_PATH = "solr_40"; // the number should be identical to the number in the property luceneMatchVersion in solrconfig.xml
- private static final String SOLR_OLD_PATH[] = new String[]{"solr_36"};
+ private static final String SOLR_PATH = "solr_44"; // the number should be identical to the number in the property luceneMatchVersion in solrconfig.xml
+ private static final String SOLR_OLD_PATH[] = new String[]{"solr_36", "solr_40"};
// class objects
private final File segmentPath;