lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Erick Erickson" <erickerick...@gmail.com>
Subject Re: Field values ...
Date Thu, 20 Mar 2008 14:05:17 GMT
See TermDocs/TermEnum. The trick is to start one of your enumerations
with "" (I forget exactly which), and that'll iterate them all.

Best
Erick

On Thu, Mar 20, 2008 at 9:55 AM, Dragon Fly <dragon-fly999@hotmail.com>
wrote:

> What's the easiest way to extract the values of 2 fields from each
> document in the index.  For example, each document has 5 fields:
>    Id     Name     Address     Phone     Preference
> I'd like to extract the values for the Id and Phone fields for each
> document in the index.  Thank you.
>
> _________________________________________________________________
> Watch "Cause Effect," a show about real people making a real difference.
>  Learn more.
> http://im.live.com/Messenger/IM/MTV/?source=text_watchcause

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message