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

Michael McCandless commented on LUCENE-2356:
--------------------------------------------

The above comment was on the wrong issue :)

We should only do this issue if the ongoing ideas about refactoring IW/IR don't 
make controlling the terms index divisor possible, for readers opened by IW.

> Enable setting the terms index divisor used by IndexWriter whenever it opens 
> internal readers
> ---------------------------------------------------------------------------------------------
>
>                 Key: LUCENE-2356
>                 URL: https://issues.apache.org/jira/browse/LUCENE-2356
>             Project: Lucene - Java
>          Issue Type: Bug
>            Reporter: Michael McCandless
>             Fix For: 3.1
>
>
> Opening a place holder issue... if all the refactoring being discussed don't 
> make this possible, then we should add a setting to IWC to do so.
> Apps with very large numbers of unique terms must set the terms index divisor 
> to control RAM usage.
> (NOTE: flex's RAM terms dict index RAM usage is more efficient, so this will 
> help such apps).
> But, when IW resolves deletes internally it always uses default 1 terms index 
> divisor, and the app cannot change that.  Though one workaround is to call 
> getReader(termInfosIndexDivisor) which will pool the reader with the right 
> divisor.

-- 
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