lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steven A Rowe" <sar...@syr.edu>
Subject RE: huge tii files
Date Tue, 17 Jun 2008 19:35:20 GMT
Hi tsuraan,

On 06/17/2008 at 2:31 PM, tsuraan wrote:
> I'm guessing the answer is no, but is there an equivalent to that for
> lucene-2.2.0?

Not exactly equivalent, but: from the apidoc for the 2.3.2 version of setTermInfosIndexDivisor(int)
<http://lucene.apache.org/java/2_3_2/api/core/org/apache/lucene/index/IndexReader.html#setTermInfosIndexDivisor(int)>:

     For IndexReader implementations that use TermInfosReader to read terms,
     this sets the indexDivisor to subsample the number of indexed terms
     loaded into memory. This has the same effect as 
     IndexWriter.setTermIndexInterval(int) except that setting must be done
     at indexing time while this setting can be set per reader. [....]

The apidoc for the 2.2.0 version of IndexWriter.setTermIndexInterval(int):

<http://lucene.apache.org/java/2_2_0/api/org/apache/lucene/index/IndexWriter.html#setTermIndexInterval(int)>

Steve

---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org


Mime
View raw message