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
org.apache.lucene.search.FieldCache.DEFAULT.

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

Bill

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to