On 12/28/2012 6:07 PM, Stefan Matheis wrote:
Kalyan
I didn't test that .. but perhaps it may work out for you -- specifying
"invariants" (possible per SearchHandler) like it's shown in the wiki:
http://wiki.apache.org/solr/SearchHandler#Configuration ?
Stefan, your reply hadn't arrived before I sent my second reply. I
suspect that if you make wt=xml an invariant option, SolrJ will still
send wt=javabin and when it gets the response, it will be expecting
javabin, not xml, which will result in an exception. I could be
completely wrong; SolrJ may be smart enough, but I suspect that it's not.
Thanks,
Shawn