I am currently implementing a Solr solution in which the user can select various product search options. Now I can take all these parameters and combine them into one long query, or I can use a query that retrieves everything (*: *) and applies query filters to it.
Normal query:
q=color:blue AND price:500
A query using filter queries:
q=*:*&fq=color:blue&fq=price:500
The result is exactly the same. So what is the difference? When should I use one or the other?
source share