SOLR | Does it process data from a JSON or XML response?

138 views
Skip to first unread message

ROCK

unread,
Nov 24, 2011, 12:57:41 AM11/24/11
to SolrNet, rve...@sapient.com
Does SOLRNet process and map the return entity from a JSON or XML
response?

Mauricio Scheffer

unread,
Nov 24, 2011, 8:36:03 AM11/24/11
to sol...@googlegroups.com
SolrNet currently works with XML responses.

--
Mauricio



On Thu, Nov 24, 2011 at 2:57 AM, ROCK <rakesh....@gmail.com> wrote:
Does SOLRNet process and map the return entity from a JSON or XML
response?

--
You received this message because you are subscribed to the Google Groups "SolrNet" group.
To post to this group, send email to sol...@googlegroups.com.
To unsubscribe from this group, send email to solrnet+u...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/solrnet?hl=en.


philip

unread,
Jan 5, 2012, 9:16:53 AM1/5/12
to SolrNet
I swapped the solrnet document parsing out with json.net and found the
deserialisation operation was around 5-10 times faster. Although I
think the difference is not really down to the underlying format but
the way document is deserialised in solrnet. There must be a large
overhead for using xpath expressions to select out each 'solr doc
part' one at a time in the ISolrResponseParser<T> implementations.

To be fair though the deserialisation costs are small in comparison to
the network etc.

On Nov 24 2011, 1:36 pm, Mauricio Scheffer
Reply all
Reply to author
Forward
0 new messages