Hi all,
we are developing a search engine in which all the possible results have
one or more countries associated. If, apart from writing the query, the
user selects a country, we use a filterquery to restrict the results to
those that match the query and are associated to that country. Nothing
spectacular so far :-D
However, we would like to show the number of results that are returned
by the unfiltered query, since we already have the number of results
associated to each country as we are also faceting on that field. Is it
possible to have that number without executing the query twice?
Thanks in advance!
- Get number of results in filtered query Fundera Developer
-