lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Shalin Shekhar Mangar <shalinman...@gmail.com>
Subject Re: Faceting
Date Mon, 13 Jul 2009 18:48:02 GMT
On Mon, Jul 13, 2009 at 7:56 PM, gwk <gijs@eyefi.nl> wrote:

>
> Is there a good way to select the top X facets and include some terms you
> want to include as well something like
> facet.field=country&f.country.facet.limit=X&f.country.facet.includeterms=Narnia,Guilder
> or is there some other way to achieve this?
>

You can use facet.query for each of the terms you want to include. You may
need to remove such terms from appearing in the facet.field=country results
in the client.

e.g.
facet.field=country&f.country.facet.limit=X&facet.query=country:Narnia&facet.query=country:Guilder

-- 
Regards,
Shalin Shekhar Mangar.

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message