lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bill Janssen <>
Subject Re: Fetch Documents Without Retrieveing All Fields
Date Mon, 10 Apr 2006 15:34:29 GMT
In case anyone else was wondering:

I got curious about how one would replace FieldCache, and discovered
that you can create an instance of a class which implements
FieldCache, and then simply assign it to

> 2) your use case sounds like it could best be served by leveraging the
> FieldCache -- as long as each document contains only one value for the
> DBID field, and as long as you index the DBID field, you can use the
> FieldCache for that field (along with a HitCollector, or
> TopDocs/TopFieldDocs) to access the DBID of every doc much faster then you
> can get the stored value.


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

View raw message