Just stumbled on field collapsing (
http://wiki.apache.org/solr/FieldCollapsing ), which is apparently
slated for inclusion in the next release.
Looks like I should be able to achieve my unique field requirement w/
group.limit=1&group.main=true in the query string.
With regard to the known limitat
In my case, I want to filter out "duplicate" docs so that returned
docs are unique w/ respect to a certain field (not the schema's unique
field, of course): a "duplicate" doc here is one that has same value
for a checksum field as one of the docs already in the results. It
would be great if I could
Hmm, depending on what you are actually needing to do, can you do it with a
simple fq param to filter out what you want filtered out, instead of needing to
write custom Java as you are suggesting? It would be a lot easier to just use
an fq.
How would you describe the documents you want to filt