facet filtering

2013-07-15 Thread Daniel Rosher
Hi, How can I have faceting on a subset of the query docset e.g. with something akin to: SimpleFacets.base = SolrIndexSearcher.getDocSet( Query mainQuery, SolrIndexSearcher.getDocSet(Query filter) ) Is there anything like facet.fq? Cheers, Dan

Re: Facet filtering

2009-08-20 Thread Avlesh Singh
You can use a dynamic field called "tag_*". If a patch for SOLR 247gets committed, you can perform a facet query like facet.field=tag_*. Cheers Avlesh On Fri, Aug 21, 2009 at 3:21 AM, Asif Rahman wrote: > Is there any way to assign metadata to ter

Re: Facet filtering

2009-08-20 Thread Uri Boness
Another solution is to use hierachical values. So for example, instead of having a "Barack Obama" value you'll have "person/Barak Obama". To filter on a person you can just use wildcards (e.g. "person/*"). Asif Rahman wrote: Is there any way to assign metadata to terms in a field and then filt

Facet filtering

2009-08-20 Thread Asif Rahman
Is there any way to assign metadata to terms in a field and then filter on that metadata when using that field as a facet? For example, I have a collection of news articles in my index. Each article has a field that contains tags based on the topics discussed in the article. An article might hav