OK, I understand now! To view the results before going much farther, I
simply did a "System.err.println(queryresponse);" which printed the
results in a JSON-like format. Instead, I need to use the methods of
the queryresponse object to view my output. Apparently, the
queryreponse.toString() is what is formatting in JSON... Doink!!
Thanks for the nudge!
Mark
On 9/18/2015 6:15 PM, Upayavira wrote:
What URL are you posting to? Why do you want to use JSON or XML from
SolrJ, which is best using javabin anyway?
Get it right via a URL first, then try to port it over to SolrJ. Then,
look in the Solr logs and you'll see the params that were passed over to
Solr - maybe you'll see what's getting set wrong. Watch for more than
one wt=, I bet Solr is always honouring the first.
Upayavira