lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael McCandless (JIRA)" <j...@apache.org>
Subject [jira] Created: (LUCENE-2356) Enable setting the terms index divisor used by IndexWriter whenever it opens internal readers
Date Mon, 29 Mar 2010 11:09:27 GMT
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-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org


Mime
View raw message