Does SolrNet only work with XML?

38 views
Skip to first unread message

Simon Munro

unread,
Feb 3, 2011, 9:07:04 AM2/3/11
to SolrNet
I querying a SOLR instance that returns JSON (&wt=json) by *default*
and it seems that the SolrNet xml parser falls over (which is
unsurprising). Does solrNet have native support for a JSON result at
all?

I added the extra params to the query string for now to get it to
work:

var queryOptions = new QueryOptions()
{
ExtraParams =
new
List<KeyValuePair<string, string>>()
{
new
KeyValuePair<string, string>("wt", "xml"),
},

};

Simon

Mauricio Scheffer

unread,
Feb 3, 2011, 9:31:58 AM2/3/11
to sol...@googlegroups.com
SolrNet only supports XML responses at the moment.

--
Mauricio




--
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.


Reply all
Reply to author
Forward
0 new messages