Re: Get number of results in filtered query

2016-04-13 Thread Alexandre Rafalovitch
Sounds like a job for tagging and excluding: https://cwiki.apache.org/confluence/display/solr/Faceting?focusedCommentId=42569404#Faceting-TaggingandExcludingFilters Regards, Alex. Newsletter and resources for Solr beginners and intermediates: http://www.solr-start.com/ On 14 April 2016 a

Re: Get number of results in filtered query

2016-04-13 Thread Jack Krupansky
If you just do a faceted query without the filter, each facet will give you the number of results for that country and numResults will give you the total number of results across all countries. But once you apply one or more filters, numResults reflects onl the post-filtering documents. -- Jack Kr