Re: How to get count of different groups of items in a single query

2008-09-25 Thread Bess Sadler
Hi, David. In this case it looks like you're looking for the faceting functionality. You can read more about this on the wiki, here: http://wiki.apache.org/solr/SimpleFacetParameters?highlight=%28facet%29 In your case, you're going to want something like: http://yoursolr.com/solr/select?q=co

How to get count of different groups of items in a single query

2008-09-25 Thread Choi, David
Hi everyone, I tried looking in the mailing list archive, but couldn't find a good answer for what I'm trying to do. Say I have an index of data about cars. I want to search for all red cars, so I do something like: q=colour:red. This returns 100 results, of which 40 are "model:Toyota", 30 a