If i have 2 records into my SOLR indexing with same email address and my keyword search is getting both of them in the result set, how can i display one of them. For example;
Record 1:
<doc>
<id>123</id>
<name>Adil Malik</name>
<email>abc@hotmail.com</email>
<jobtitile>Software Engineer</jobtitle>
</doc>
Record 2:
<doc>
<id>456</id>
<name>Adil Malik</name>
<email>abc@hotmail.com</email>
<jobtitile>Database Developer</jobtitle>
</doc>
If we search with "abc@hotmail.com", it will return both records but i want to display any one of them. How can i query in the SOLR search to display only one record if we have 2 with same email address?
NOTE: i want to keep both records into my SOLR indexing.
In reply to @Layke