Well, I had a bit of a facepalm moment when thinking about it a little
more, I'll just show a "more countries [Y selected]" where Y is the
number of countries selected which are not in the top X. If you want a
nice concise interface you'll just have to enable javascript. With my
earlier adventures in numerical range selection (solr-1240) I became
wary of just adding facet.query parameters as Solr seemed to crash when
adding a lot of facet.queries of the form facet.query=price:[* TO
10]&facet.query:[10 TO 20] etc. etc
Thanks for your help,
Regards,
Gijs
Shalin Shekhar Mangar wrote:
On Mon, Jul 13, 2009 at 7:56 PM, gwk <g...@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