Difference between q and fq in Solr

solr

Solution

Standard solr queries use the "q" parameter in a request. Filter queries use the "fq" parameter.

The primary difference is that filtered queries do not affect relevance scores; the query functions purely as a filter (docset intersection, essentially).

Problem

Someone please give me a decent explanation of the difference between q and fq in Solr query, covering some points such as - - Do they have the same syntax? - Do they return same results? - When to use which one and why? - Any other differences

Original source

Related problems