Erik Hatcher wrote:
anybody compared/contrasted the two? seems like yonik's noggit parser might have a performance edge on xml parsing ?!


an early version of solrj used JSON but not noggit.

I have not messed with noggit, but the one major downside to JSON (in my opinion) is how it deals with dates.

Solrj was written to let us swap around various parsers:
http://svn.apache.org/repos/asf/lucene/solr/trunk/client/java/solrj/src/org/apache/solr/client/solrj/ResponseParser.java

public interface ResponseParser
{
  String getWriterType(); // for example: wt=XML, JSON, etc
  NamedList<Object> processResponse( Reader body );
}

but I only implemented the XML one.

ryan


Reply via email to