Hi Vrinda,

You should use field collapsing (https://cwiki.apache.org/confluence/display/solr/Collapse+and+Expand+Results) or if you cannot live with its limitations, you can use results grouping (https://cwiki.apache.org/confluence/display/solr/Result+Grouping)

HTH,
Emir


On 03.03.2017 10:55, vrindavda wrote:
Hello,

I have indexed data of 3 categories say Category-1,Category-2,Category-3.

I need suggestions to form query as to get top 3 results from each
categories -  Category-1(3),Category-2(3),Category-3(3). - Total 9.

Is this possible ?

Thank you,
Vrinda Davda



--
View this message in context: 
http://lucene.472066.n3.nabble.com/Solr-Query-Suggestion-tp4323180.html
Sent from the Solr - User mailing list archive at Nabble.com.

--
Monitoring * Alerting * Anomaly Detection * Centralized Log Management
Solr & Elasticsearch Support * http://sematext.com/

Reply via email to