Hi,

I'm looking for an optimal solution for extracting unique field values.
The rub is that I want to be able to perform this for a unique subset of
documents...as per the example:

I have an index with Field1 and Field2.

I want "all unique values of Field1 where Field2=X".

Other than actually performing a query, where I select all documents
that satisfy the condition Field2=x and then collecting the unique field
values myself by iterating across the hits, is there a way of leveraging
the indexreader, and enumerating across Fields, something like the
general example given here:
http://wiki.apache.org/lucene-java/LuceneFAQ#head-a801793d7479264e29157d92440199b35266dc18

Thx,
Joel


---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org
For additional commands, e-mail: java-user-h...@lucene.apache.org

Reply via email to