[ 
https://issues.apache.org/jira/browse/LUCENE-1909?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12777127#action_12777127
 ] 

Mark Miller commented on LUCENE-1909:
-------------------------------------

If you want to inherit the setting, use the correct constructor :)

Lucene doesn't advertise a default setting now, because the default is off - 
you only know we are using a 1 divisor because you are peeking. We could switch 
to not using that constant at all right now. Nice to have flexibility.

bq. However (while unlikely) a new version of lucene could default to using a 
real divisor (maybe once everyone is on solid state disks, a higher divisor 
will result in the same speed of access, with less memory use)

We wouldn't change it there by default. Thats a waste on the index size side. 
We would change the IndexWriter divisor. We wouldn't waste index size on disk 
for most people just so some people could lower it back to 1 to get there speed 
back. I'd -1 the heck out of that. There is no default for you to inherit in 
any case - thats an impl detail. By the default the feature is off. You can't 
inherit anything about it.



> 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

Reply via email to