Hi,

I'm in the process of making a javascriptless web interface to Solr (the nice ajax-version will be built on top of it unobtrusively). Our database has a lot of fields and so I've grouped those with similar characteristics to make several different 'widgets' (like a numerical type which get a min-max selector or an enumerated type with checkboxes) but I've run into a slight problem with fields which contain a lot of terms. One of those fields is country, what I'd like to do is display the top X countries, which is easily done with facet.field=country&f.country.facet.limit=X and display a more link which will redirect to a new page with all countries (and other query parameters in hidden fields) which posts back to the search page. All this is no problem, but once a person has selected some countries which are not in the top X (say 'Narnia' and 'Guilder') I want to list that country below the X top countries with a checked checkbox. 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?

Regards,

Gijs Kunze

Reply via email to