On Dec 4, 2007, at 10:37 AM, Wagner,Harry wrote:
Anyone know of a problem with faceting on more than 1 field and using a
different facet.limit for each field?  I'm using a query like:



...facet=true&facet.mincount=1&facet.limit=15&facet.field=fpn&facet.li mi t=-1&facet.field=ln&facet.limit=-1&facet.field=aud&facet.limit=-1&face t.
field=fmt1&debugQuery=on
<http://localhost:8080/solrf/select/? indent=on&version=2.2&start=0&rows= 20&q=s1%3a%5b0+TO+9% 5d&facet=true&facet.mincount=1&facet.limit=15&facet. field=fpn&facet.limit=-1&facet.field=ln&facet.limit=-1&facet.field=aud &f
acet.limit=-1&facet.field=fmt1&debugQuery=on>

HTTP parameters are just a bag of key/value parameters. Order is not really something to be relied upon. The facet feature has the ability to control per-field values, but you need to use different keys. See here:

<http://wiki.apache.org/solr/SimpleFacetParameters>

Note this documentation: "f.<fieldName>.<originalParam>=<value>" for per-field settings. So f.fpn.limit=-1, and so on, is what you want.

        Erik

Reply via email to