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 <[EMAIL PROTECTED]> 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