There's an experimental patch for this I've had pretty good success
with:
https://issues.apache.org/jira/browse/SOLR-236
If you don't particularly need faceting support to work 100% it's
already pretty perfect. Officially I guess they want it to make it in
for version 1.5?? But in the meantime it's pretty easy to implement
and stable, just make sure you use the latest patch.
--
Steve
On Feb 28, 2009, at 5:45 PM, Venu Mittal wrote:
Hi List,
Is it possible to filter out the duplicate results using a
particular field in the document.
e.g.
<doc>
<field name="cust_id>123</field>
<field name="unique_id>1</field>
<field name="email>a...@b.com</field>
</doc>
<doc>
<field name="cust_id>123</field>
<field name="unique_id>2</field>
<field name="email>a...@b.com</field>
</doc>
Now if I search for email = a...@b.com I get 2 search results but I
want to send just one record cause my cust_id is same. Is it
possible or do I need to handle it in the calling application.
Thanks