lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mike Klaas <mike.kl...@gmail.com>
Subject Re: Field.Store.Compress - does it improve performance of document reads?
Date Thu, 17 May 2007 22:02:40 GMT

On 17-May-07, at 6:43 AM, Andreas Guther wrote:

> I am actually using the FieldSelector and unless I did something  
> wrong it
> did not provide me any load performance improvements which was  
> surprising to
> me and disappointing at the same time.  The only difference I could  
> see was
> when I returned for all fields a NO_LOAD which from my  
> understanding is the
> same as skipping over the document.

Note that storing the field as binary or compressed will increase the  
speed gains from lazy loading.  If the stored field is just text,  
then lucene has to scan the characters instead of .seek()ing to a  
byte position.

-MIke

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