You can use a facet query.  Here is an example from the Solr Wiki:

http://wiki.apache.org/solr/SimpleFacetParameters#head-1da3ab3995bc4abcdce8e0f04be7355ba19e9b2c

Bill

On Wed, Jul 1, 2009 at 8:34 AM, Sumit Aggarwal <sumit.kaggar...@gmail.com>wrote:

> >
> > Suppose i wanted to search for red dress and i want to get facet count
> for
> > term size-medium, size-large... Basically i wanted to get facet count for
> > some predefined terms in result set. How can i do it?
> > once i got facet count now i want result set for red dress and
> size-medium.
> > i hope i can achive this using facet filter query.....
> >
>
> Thanks,
> Sumit
>

Reply via email to