[ https://issues.apache.org/jira/browse/LUCENE-1909?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12777006#action_12777006 ]
Mark Miller commented on LUCENE-1909: ------------------------------------- I know its not a big deal - but I have an abrasive reputation to maintain ;) The default terms info divisor essentially means that feature is turned off. The 1 just means, don't sub sample the terms index. Its off. For your use case, I would do: {code} if (index is big or memory is tight){ reader = IndexReader.open(..., largerTermsIndexDiv); } else{ reader = IndexReader.open(...); } {code} If you don't use that argument, you get the default. Whenever I see an issue to open up something in Lucene without a reason that makes sense to me, I think its a good idea to push back. If it really does make sense, it will make it through - but I don't think anything should get a free pass. This one is still not making sense to me. Your right - its not a big deal - but I still don't see a reason to open it up. > Make IndexReader.DEFAULT_TERMS_INDEX_DIVISOR public > --------------------------------------------------- > > Key: LUCENE-1909 > URL: https://issues.apache.org/jira/browse/LUCENE-1909 > Project: Lucene - Java > Issue Type: Improvement > Reporter: Grant Ingersoll > Assignee: Uwe Schindler > Priority: Trivial > Fix For: 3.0 > > Attachments: LUCENE_1909.patch > > -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: java-dev-unsubscr...@lucene.apache.org For additional commands, e-mail: java-dev-h...@lucene.apache.org