On Thu, 2015-08-06 at 12:32 +0530, Selvam wrote: > Good day, I wanted to run a filter query (fq), say, I need to run > > q=*.*&fq=(country:india) OR (country:iran)&limit=100 > > Now it may return me 100 records that might contain 70 Indians & 30 Iran > records. Now how can I force to fetch 50 Indian & 50 Iran records using a > single SOLR query?
q=*.*&fq=(country:india) OR (country:iran) &group=true&group.field=country&group.limit=50 https://cwiki.apache.org/confluence/display/solr/Result+Grouping - Toke Eskildsen, State and University Library, Denmark