From 70b8445b6f37c2755bc1960a50244148709fdbfc Mon Sep 17 00:00:00 2001 From: Robert Muir Date: Mon, 13 Sep 2010 04:30:16 +0000 Subject: [PATCH] SOLR-2118: fix setTermIndexDivisor param to have its correct name git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@996416 13f79535-47bb-0310-9956-ffa450edef68 --- solr/example/solr/conf/solrconfig.xml | 4 ++-- solr/src/java/org/apache/solr/core/IndexReaderFactory.java | 2 +- solr/src/test/test-files/solr/conf/solrconfig-termindex.xml | 2 +- solr/src/test/test-files/solr/conf/solrconfig-xinclude.xml | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/solr/example/solr/conf/solrconfig.xml b/solr/example/solr/conf/solrconfig.xml index 2203921cc96..6e11651d0d0 100755 --- a/solr/example/solr/conf/solrconfig.xml +++ b/solr/example/solr/conf/solrconfig.xml @@ -283,9 +283,9 @@ Parameters as required by the implementation --> - + diff --git a/solr/src/java/org/apache/solr/core/IndexReaderFactory.java b/solr/src/java/org/apache/solr/core/IndexReaderFactory.java index c7b603151c3..4204a9ebb4f 100644 --- a/solr/src/java/org/apache/solr/core/IndexReaderFactory.java +++ b/solr/src/java/org/apache/solr/core/IndexReaderFactory.java @@ -39,7 +39,7 @@ public abstract class IndexReaderFactory implements NamedListInitializedPlugin { * */ public void init(NamedList args) { - Integer v = (Integer)args.get("setTermIndexInterval"); + Integer v = (Integer)args.get("setTermIndexDivisor"); if (v != null) { termInfosIndexDivisor = v.intValue(); } diff --git a/solr/src/test/test-files/solr/conf/solrconfig-termindex.xml b/solr/src/test/test-files/solr/conf/solrconfig-termindex.xml index 3eeb6f8d524..5f440277635 100644 --- a/solr/src/test/test-files/solr/conf/solrconfig-termindex.xml +++ b/solr/src/test/test-files/solr/conf/solrconfig-termindex.xml @@ -143,7 +143,7 @@ - 12 + 12 diff --git a/solr/src/test/test-files/solr/conf/solrconfig-xinclude.xml b/solr/src/test/test-files/solr/conf/solrconfig-xinclude.xml index 82c560a044f..1167df89bb8 100644 --- a/solr/src/test/test-files/solr/conf/solrconfig-xinclude.xml +++ b/solr/src/test/test-files/solr/conf/solrconfig-xinclude.xml @@ -138,7 +138,7 @@ - 12 + 12