lucene-solr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Yonik Seeley <yo...@lucidimagination.com>
Subject Re: Multiple facet.prefix?
Date Fri, 21 Aug 2009 06:24:30 GMT
On Fri, Aug 21, 2009 at 2:18 AM, Avlesh Singh<avlesh@gmail.com> wrote:
> So, this is it -
> facet.field=myField&f.foo.facet.prefix=foo&f.foo.facet.prefix=bar
> Right?

I'd actually prefer a more non-ambiguous and general syntax.
It seems like you want to include a filter in faceting that you don't
want applied to the normal search results (else you would have just
used fq=myfield:(A* OR B*))

So what about something like:

facet.field={!filter="myfield:A* OR B*"}myfield
or with dereferencing,
facet.field={!filter=$f}myfield&f=myfield:A* OR B*

-Yonik
http://www.lucidimagination.com

Mime
View raw message