Hi,

if you index your doc with text='operating system' with an additional
keyword field='linux'
(of type string, can be multivalued) then solr facetting should be what
you want:

solr/select?q=*:*&facet=true&facet.field=keyword&rows=10 or rows=0
depending on your needs

Does this help?

Regards,
Peter.

> I need to build a faceted search.
> Each facet consists of keywords that should also be applied to search query
> in addition to mail query string
> For instance: I am searching for "operating system"  and I need two facets
> "linux" and "windows". Each should append it's keyword to query string to
> get count.
> I saw theirs is only value, range and date match condition supported but not
> keyword match in documentation
> http://wiki.apache.org/solr/SimpleFacetParameters
>
>
> Does Solr support such queries?
>
>
>   

Reply via email to