stack overflow - StackOverflowException in solrnet -
we have same requirement of passing huge data http://bugsquash.blogspot.in/2010/12/customizing-solrnet.html, tried following.
1) increased requestheadersize int32.maxvalue - stackoverflow exception
2) used postsolrconnection - got stackoverflow exception.
3) downloaded source of solrnet , added project reference - stackoverflow exception
changed get, getting stackoverflow exception. error coming when have more 500 reference ids. if have less values, works.
this how calling,
searchresults = solrpost.query(new solrmultiplecriteriaquery(new[] { query }), new solrnet.commands.parameters.queryoptions { fields = new[] { "*", "score" }, start = pagesize, rows = 40, orderby = listsort }); any ideas?
edit:
we tried requesting solr using httprequest , identified maxbooleanclause issue , post started working through httprequest. using solrnet error occurred , happening @ serializing query object. queryserializer.serialize(query)
wondering why step 2 didn't work exact fix long request issue, i.e. switch on post request.
chances there issue piece of code initialising solrnet use postsolrconnection instead of default solrconnection. need @ bit of code gets instance of solrpost object. take @ , post here.
Comments
Post a Comment