mirror of https://github.com/apache/lucene.git
SOLR-1677: top of the Lucene Version issue
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/branches/solr@923568 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
0aa2bb79f3
commit
cd4be66ce2
|
@ -110,6 +110,9 @@ New Features
|
|||
|
||||
* SOLR-1815: SolrJ now preserves the order of facet queries. (yonik)
|
||||
|
||||
* SOLR-1677: Add support for choosing the Lucene Version for Lucene components within
|
||||
Solr. (Uwe Schindler, Mark Miller)
|
||||
|
||||
Optimizations
|
||||
----------------------
|
||||
|
||||
|
|
|
@ -32,6 +32,14 @@
|
|||
-->
|
||||
<abortOnConfigurationError>${solr.abortOnConfigurationError:true}</abortOnConfigurationError>
|
||||
|
||||
<!--
|
||||
Controls what version of Lucene various components of Solr adhere to. Generally, you want
|
||||
to use the latest version to get all bug fixes and improvements. It is highly recommended
|
||||
that you fully re-index after changing this setting as it can affect both how text is indexed
|
||||
and queried.
|
||||
-->
|
||||
<luceneMatchVersion>LUCENE_31</luceneMatchVersion>
|
||||
|
||||
<!-- lib directives can be used to instruct Solr to load an Jars identified
|
||||
and use them to resolve any "plugins" specified in your solrconfig.xml or
|
||||
schema.xml (ie: Analyzers, Request Handlers, etc...).
|
||||
|
|
|
@ -136,6 +136,7 @@ public class SolrConfig extends Config {
|
|||
|
||||
booleanQueryMaxClauseCount = getInt("query/maxBooleanClauses", BooleanQuery.getMaxClauseCount());
|
||||
luceneMatchVersion = getLuceneVersion("luceneMatchVersion", Version.LUCENE_24);
|
||||
log.info("Using Lucene MatchVersion: " + luceneMatchVersion);
|
||||
|
||||
filtOptEnabled = getBool("query/boolTofilterOptimizer/@enabled", false);
|
||||
filtOptCacheSize = getInt("query/boolTofilterOptimizer/@cacheSize",32);
|
||||
|
|
Loading…
Reference in New Issue