Apache Solr asks that one of the GET parameters sent to it is a duplicate name:
facet.range=price&facet.range=age
The documentation is here:
http://wiki.apache.org/solr/SimpleFacetParameters#facet.range
In jQuery, how can I double-enable this query string parameter ( facet.range )? I cannot create an object with duplicate keys, but this corresponds to what I need to do:
context = { 'facet.range': 'price', 'facet.range': 'age', // This will be the only element in this dictionary as the key names are the same } $.ajax({ type: "get", url: 'http://127.0.0.1:8983/solr/select', dataType:"jsonp", contentTypeString: 'application/json', jsonp:"json.wrf", data: context, success:function (data) { ... } });
source share