Why do you want to use POST? It is the wrong HTTP request type for search results.
GET is for retrieving information from the server, POST is for changing information on the server. POST responses cannot be cached (see HTTP spec). POST requests do not include the arguments in the log, which makes your HTTP logs nearly useless for diagnosing problems. wunder Walter Underwood On Oct 14, 2011, at 9:20 AM, Sujit Pal wrote: > If you use the CommonsHttpSolrServer from your client (not sure about > the other types, this is the one I use), you can pass the method as an > argument to its query() method, something like this: > > QueryResponse rsp = server.query(params, METHOD.POST); > > HTH > Sujit > > On Fri, 2011-10-14 at 13:29 +0000, Rohit wrote: >> I want to user POST instead of GET while using solrj, but I am unable to >> find a clear example for it. If anyone has implemented the same it would be >> nice to get some insight. >> >> >> >> Regards, >> >> Rohit >> >> Mobile: +91-9901768202 >> >> About Me: <http://about.me/rohitg> http://about.me/rohitg >>