On 4/18/2016 5:06 AM, Mugeesh Husain wrote: > 1.)solr normal query(q=*:*) vs facet query(facet.query="abc") ? > 2.)solr normal query(q=*:*) vs facet > search(facet=tru&facet.field=coullumn_name) ? > 3.)solr filter query(q=Column:some value) vs facet query(facet.query="abc") > ? > 4.)solr normal query(q=*:*) vs filter query(q=column:some value) ?
This is a question that is nearly impossible to answer without your actual index, and even then only you can answer it. You need to *try* these queries and see what happens. https://lucidworks.com/blog/sizing-hardware-in-the-abstract-why-we-dont-have-a-definitive-answer/ Note that there is a performance bug with the *:* (MatchAllDocuments) query on 5.x versions, which is only solved in 5.5.0 and later. This query runs quite a bit slower than it should. https://issues.apache.org/jira/browse/SOLR-8251 Thanks, Shawn