lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Grant Ingersoll <>
Subject Re: FieldSelector
Date Mon, 16 Feb 2009 12:21:38 GMT

On Feb 16, 2009, at 7:00 AM, <> <> wrote:

> Hi,
> what kind of fields loads IndexSearcher.Document doc(int i)? Only  
> those with
> Field.Store.YES?

Yes, Lucene can only load those fields that are stored.

> I'm asking because I do not need to load the tokens - should I use a
> FieldSelector or are these fields not loaded?

FieldSelector is used to selectively load fields that you want  
returned with the document.   The tokens produced by analysis are  
stored in other places and will not be returned by the document()  

Grant Ingersoll

Search the Lucene ecosystem (Lucene/Solr/Nutch/Mahout/Tika/Droids)  
using Solr/Lucene:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message