You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by Dan Baughman <da...@hostworks.com> on 2011/01/19 01:07:38 UTC

Unique custom field

Hi,

When I index my content, one of the fields I store is a MD5 hash sum of another field.

I don't want this field to be used as the "key", but when I search I want to specify that I don't wany duplicate results for this field.

Is there a way to do that?

Thanks,
Dan

Re: Unique custom field

Posted by Erick Erickson <er...@gmail.com>.
You could try field collapsing as a way to group fiels with identical
signatures together and only display one of the results....

Best
Erick


On Tue, Jan 18, 2011 at 7:07 PM, Dan Baughman <da...@hostworks.com> wrote:

> Hi,
>
> When I index my content, one of the fields I store is a MD5 hash sum of
> another field.
>
> I don't want this field to be used as the "key", but when I search I want
> to specify that I don't wany duplicate results for this field.
>
> Is there a way to do that?
>
> Thanks,
> Dan
>