[ https://issues.apache.org/jira/browse/LUCENE-1909?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12777109#action_12777109 ]
Tim Smith commented on LUCENE-1909: ----------------------------------- what you describe requires effectively 2 settings: * custom term infos divisor enabled/disabled * configured value if enabled this then results in more complexity in opening the index reader (conditional opening where a non-conditional open with the configured divisor would do the trick) any admin ui would also require more conditional handling of displaying this setting (as you described) (i'm not displaying it other than in JMX now anyway, so it doesn't really matter for me, and JMX just has a readonly attribute that shows the configured value (1 by default)) personally, i don't care too much if this constant is made public or not (would make it so i use that constant instead of defining my own with the same value), so it only saves me 1 line (and its not like the default will ever change from 1 in the lucene code anyway) > 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