I have a custom content type which contain duplicate values. I try to remove duplicate results from Query Web service returns. For specify duplicate data, I created "groupid" managed property which is type of integer. This managed property hold same value for duplicate record.
I added TrimDuplicates Element to Query like below.
<TrimDuplicates onproperty="groupid" keepcount="1">true</TrimDuplicates>
After adding TrimDuplicates Element, I send query to web service. Query Service returns all duplicate records, although the same "groupid".
How can I remove duplicate results to use custom managed property(using onproperty attr)?
Thanks for your attention.