On Sep 14, 2008, at 2:51 PM, Julio Castillo wrote:
What is the status of JSON support via SolrJ?

Requires a custom ResponseParser. See SOLR-402 for a couple of implementation ideas:

  <https://issues.apache.org/jira/browse/SOLR-402>

Maybe this code is no longer current to trunk?

I want to be able to specify a parser such as the XMLResponseParser on my
SolrServer. What are my options?

Use SolrServer#setParser() for one of the above implementations.

I guess I could get an XML response and then convert it to JSON? I rather
not.

Ewww, don't do that.

There is a JIRA entry SOLR-402, but real resolution to it per the comments
that follow in the feature request.
https://issues.apache.org/jira/browse/SOLR-402

Did the RawResponseParser work for you? If so, we can build that into Solr trunk - +1. I shoulda done that a while ago, sorry. This actually fits well with SOLR-620, in my nefarious plans to build a web framework out of Solr ;)

        Erik

Reply via email to