Re: Facets involving multiple fields

2012-04-13 Thread Erick Erickson
Nope. Information about your higher level use-case would probably be a good thing, this is starting to smell like an "XY" problem. Best Erick On Fri, Apr 13, 2012 at 5:48 AM, Marc SCHNEIDER wrote: > Hi, > > Thanks for your answer. > Yes it works in this case when I know the facet name (Computer)

Re: Facets involving multiple fields

2012-04-13 Thread Marc SCHNEIDER
Hi, Thanks for your answer. Yes it works in this case when I know the facet name (Computer). What if I want to automatically compute all facets? facet.query=keyword:* short_title:* doesn't work, right? Marc. On Thu, Apr 12, 2012 at 2:08 PM, Erick Erickson wrote: > facet.query=keywords:computer

Re: Facets involving multiple fields

2012-04-12 Thread Erick Erickson
facet.query=keywords:computer short_title:computer seems like what you're asking for. On Thu, Apr 12, 2012 at 3:19 AM, Marc SCHNEIDER wrote: > Hi, > > Thanks for your answer. > Let's say I have to fields : 'keywords' and 'short_title'. > For these fields I'd like to make a faceted search : if 'Co

Re: Facets involving multiple fields

2012-04-12 Thread Marc SCHNEIDER
Hi, Thanks for your answer. Let's say I have to fields : 'keywords' and 'short_title'. For these fields I'd like to make a faceted search : if 'Computer' is stored in at least one of these fields for a document I'd like to get it added in my results. doc1 => keywords : 'Computer' / short_title : '

Re: Facets involving multiple fields

2012-04-11 Thread Erick Erickson
Have you considered facet.query? You can specify an arbitrary query to facet on which might do what you want. Otherwise, I'm not sure what you mean by "faceted search using two fields". How should these fields be combined into a single facet? What that means practically is not at all obvious from y

Facets involving multiple fields

2012-04-10 Thread Marc SCHNEIDER
Hi, I'd like to make a faceted search using two fields. I want to have a single result and not a result by field (like when using facet.field=f1,facet.field=f2). I don't want to use a copy field either because I want it to be dynamic at search time. As far as I know this is not possible for Solr 3