Re: Headscratcher 2 of 2

2015-09-18 Thread Upayavira
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

Re: Headscratcher 2 of 2

2015-09-18 Thread Mark Fenbers
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()

Headscratcher 2 of 2

2015-09-18 Thread Mark Fenbers
Greetings! I cannot seem to configure the spell-checker to return results in XML instead of JSON. I tried programmatically, as in ... params.set("wt", "xml"); solr.query(params); ... and I tried through the solrconfig.xml. My problem here is that it is not exactly clear (because I've seen