> > > Unfortunately no. the +20 queries are distinct from each other, even tho > they share some of the original query parameters (and some facet > information > from the original query facets). > > what I was envisioning was something that works like a facet, but instead > of > returning information about the first query, it would return information > about queries similar to the first query. >
Maybe I misunderstand what you are trying to do (or the facet.query feature). If I did an initial query on my data-set that left me with the following questions: 1. How many products are in brand 1? 2. How many products are in brand 2? 3. How many products are in brand 5 and category 4051? 4. etc... (however many other arbitrary queries I want to get counts for) I could use facet.query parameters to answer those with something like: http://localhost:8983/solr/select/?q=*%3A*&start=0&rows=0&facet=on&facet.query=brand_id:1&facet.query=brand_id:2&facet.query=+%2Bbrand_id:5+%2Bcategory_id:4051 Where the parameters are: q=*:* start=0 rows=0 facet=on facet.query=brand_id:1 facet.query=brand_id:2 facet.query=+brand_id:5 +category_id:4051 My response looks like: <response> <result name="response" numFound="926626" start="0"/> <lst name="facet_counts"> <lst name="facet_queries"> <int name="brand_id:1">1450</int> <int name="brand_id:2">1047</int> <int name=" +brand_id:5 +category_id:4051">21</int> </lst> <lst name="facet_fields"/> <lst name="facet_dates"/> </lst> </response> Are you talking about a different problem? Do you have a simple example? -Tim