Best Practice of Field Collapsing in SOLR 1.4
Posted
by Dominik
on Stack Overflow
See other posts from Stack Overflow
or by Dominik
Published on 2010-04-08T06:25:39Z
Indexed on
2010/04/08
6:33 UTC
Read the original article
Hit count: 281
solr
I need a way to collapse duplicate (defined in terms of a string field with an id) results in solr. I know that such a feature is comming in the next version (1.5), but I can't wait for that. What would be the best way to remove duplicates using the current stable version 1.4?
Given that finding duplicates in my case is really easy (comparison of a string field), should it be a Filter, should I overwrite the existing SearchComponent or write a new Component, or use some external libraries like carrot2?
The overall result count should reflect the shortened result.
© Stack Overflow or respective owner