lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mark harwood <markharw...@yahoo.co.uk>
Subject Re: termInfosIndexDivisor vs termIndexInterval
Date Mon, 07 Feb 2011 13:35:11 GMT
Somewhat historic reasons.
It used to be IndexWriter was the only place you could define this setting 
(making it an index-time decision burnt into the index).
The IndexReader option is a relatively newer addition that adds the flexibility 
to decide about memory usage whenever you open the index (giving you the luxury 
of not having to decide on a sensible interval setting up front)

Cheers
Mark


----- Original Message ----
From: Anuj Shah <anujshahwork@gmail.com>
To: java-user@lucene.apache.org
Sent: Mon, 7 February, 2011 10:58:02
Subject: termInfosIndexDivisor vs termIndexInterval

Hi,

Is someone able to explain the purpose of both these properties. By reading
the documentation I don't understand the benefit of setting the
termIndexInterval on the IndexWriter.

Thanks

Anuj



      

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