: I tried to set the default response writer for admin operations to JSON by
: putting the following in solrconfig.xml:

there's two types of admin requests -- "core" based and global

:   <queryResponseWriter name="json" class="solr.JSONResponseWriter"
: *default="true"*>

..that sets the default response writer for the core(s) using that config.

: curl -i -X GET http://localhost:8983/solr/admin/collections?action=LIST

...thta's a "global" request, processed by the CollectionApiHandler w/o 
the context of any specific core or collection (note: no collection/core 
path) so it doesn't know about the defaults (or custom response writer 
plugins) specified in the solrconfig.xml of any particular core.  

Only the basic (ie: hard coded) defaults have affect on those types of 
requests.



-Hoss
http://www.lucidworks.com/

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to