On Tue, 2007-05-22 at 10:44 -0400, Yonik Seeley wrote: > 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) Too bad, so we would have either to know the schema in the application or provide queries for index metadata / the schema / faceting info.
Cheers, Martin > > -Yonik > -- Martin Grotzke http://www.javakaffee.de/blog/
signature.asc
Description: This is a digitally signed message part