Thank You very much
--Tim
> -Ursprüngliche Nachricht-
> Von: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] Auftrag von Chris
> Hostetter
> Gesendet: Dienstag, 18. Januar 2005 04:56
> An: Lucene Users List
> Betreff: Re: How to get all field values from a Hits objec
: is it possible to get all different values for a
: from a object and how to do this?
The ording of your question suggests that the Field you are interested in
isn't a field which will have a fairly unique value for every doc (ie: not
a "title", more likely an "author" or "category" field). S
On Mon, 2005-01-17 at 13:36 +0100, Tim Lebedkov (UPK) wrote:
> is it possible to get all different values for a
> from a object and how to do this?
Not unless you iterate through all the documents in the Hits object,
e.g.
Set fields = new HashSet();
for (int i = 0; i < hits.length(); i++) {
Hi,
is it possible to get all different values for a
from a object and how to do this?
Thank You
--Tim
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]