11.05.2016 Views

Apache Solr Reference Guide Covering Apache Solr 6.0

21SiXmO

21SiXmO

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

curl http://localhost:8983/solr/techproducts/config/params -H<br />

'Content-type:application/json' -d '{<br />

"set":{<br />

"my_handler_params":{<br />

"facet.limit":5,<br />

"_invariants_": {<br />

"facet":true,<br />

"wt":"json"<br />

},<br />

"_appends_":{"facet.field":["field1","field2"]<br />

}<br />

}}<br />

}'<br />

now it is possible to define a request handler as follows<br />

<br />

It will be equivalent to a requesthandler definition as follows,<br />

<br />

<br />

5<br />

<br />

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!