You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by Jae Joo <ja...@gmail.com> on 2008/11/26 07:28:10 UTC

Facet Query and Query

>
> I am having some trouble to utilize the facet Query. As I know that the
> facet Query has better performance that simple query (q).
> Here is the example.
>
>
> http://localhost:8080/test_solr/select?q=*:*&facet=true&fq=state:CA&facet.mincount=1&facet.field=city&facet.field=sector&facet.limit=-1&sort=score+desc
>
> --> facet by sector and city for state of CA.
> Any idea how to optimize this query to avoid "q=*:*"?
>
> Thanks,
>
> Jae
>
>
>