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
This commit is contained in:
Robert Muir 2010-09-13 04:30:16 +00:00
parent ab1af14e89
commit 70b8445b6f
4 changed files with 5 additions and 5 deletions

View File

@ -283,9 +283,9 @@
Parameters as required by the implementation
</indexReaderFactory >
-->
<!-- To set the setTermIndexInterval, do this: -->
<!-- To set the setTermIndexDivisor, do this: -->
<!--<indexReaderFactory name="IndexReaderFactory" class="org.apache.solr.core.StandardIndexReaderFactory">
<int name="setTermIndexInterval">12</int>
<int name="setTermIndexDivisor">12</int>
</indexReaderFactory >-->

View File

@ -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();
}

View File

@ -143,7 +143,7 @@
</updateHandler>
<indexReaderFactory name="IndexReaderFactory" class="org.apache.solr.core.StandardIndexReaderFactory">
<int name="setTermIndexInterval">12</int>
<int name="setTermIndexDivisor">12</int>
</indexReaderFactory >
<query>

View File

@ -138,7 +138,7 @@
</updateHandler>
<indexReaderFactory name="IndexReaderFactory" class="org.apache.solr.core.StandardIndexReaderFactory">
<int name="setTermIndexInterval">12</int>
<int name="setTermIndexDivisor">12</int>
</indexReaderFactory >
<query>