Thanks.
> Date: Mon, 24 Mar 2008 21:03:13 -0700
> From: [EMAIL PROTECTED]
> To: java-user@lucene.apache.org
> Subject: RE: Field values ...
>
>
> : The Id and Phone fields are stored. So I can just do a MatchAllQuery as
> : you suggested. I have read about field s
: The Id and Phone fields are stored. So I can just do a MatchAllQuery as
: you suggested. I have read about field selectors on this mailing list
: but have never used it. Does anyone know where I can find some sample
: code? Thank you.
there's a couple of reusable implementations in subver
[EMAIL PROTECTED]
> To: java-user@lucene.apache.org
> Subject: RE: Field values ...
>
>
> : I want to do something like:
> :
> : List infoList = new ArrayList ();
> : foreach (Document doc in LuceneIndex)
> : {
> :String id = doc.get ("Id&quo
: I want to do something like:
:
: List infoList = new ArrayList ();
: foreach (Document doc in LuceneIndex)
: {
:String id = doc.get ("Id");
:String phone = doc.get ("Phone");
:infoList.add (new Info (id, phone));
: }
If "Id" and "Phone" are stored value
);
}
Thank you.
> Date: Thu, 20 Mar 2008 10:05:17 -0400
> From: [EMAIL PROTECTED]
> To: java-user@lucene.apache.org
> Subject: Re: Field values ...
>
> See TermDocs/TermEnum. The trick is to start one of your enumerations
> with "" (I forget exactly which), and
));
}
Thank you.
> Date: Thu, 20 Mar 2008 10:05:17 -0400
> From: [EMAIL PROTECTED]
> To: java-user@lucene.apache.org
> Subject: Re: Field values ...
>
> See TermDocs/TermEnum. The trick is to start one of your enumerations
> with "" (I forget exactly which), and that
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