On 5/22/07, Martin Grotzke <[EMAIL PROTECTED]> wrote:
On Tue, 2007-05-22 at 10:07 -0400, Will Johnson wrote:
> Possible solutions inline:
>
> 1) I use facets and want to return the facets for "all documents" as the
> starting point of the user interface. In other words, I want to /select
> the facet counts for about 10 facets (like states for example) for all
> documents without having to do a search. Is this possible?
>
> You could cache the results and just redisplay them over and over but
> why not just run a search for *:* and display that.
I already wondered how to get all facets, but simply performing a search
for *:* does not work for me, e.g. with the query string
http://localhost:8983/solr/select?q=*:*&rows=0&facet=true&facet.limit=5

You need to specify the constrants (facet.query or facet.field params)

-Yonik

Reply via email to