mirror of https://github.com/apache/lucene.git
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:
parent
ab1af14e89
commit
70b8445b6f
|
@ -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 >-->
|
||||
|
||||
|
||||
|
|
|
@ -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();
|
||||
}
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue