1 Apr 2008 04:32
Re: Solr GET requests return quickly, POST requests take very long, why?
Vinci <vinci.wong <at> polyu.edu.hk>
2008-04-01 02:32:35 GMT
2008-04-01 02:32:35 GMT
hi, You need to give us some example...while you should ask in the tomcat user group of how tomcat/apache dealing with POST request as ryan said they go to the same loop. Thank you, Vinci jnagro wrote: > > I appreciate the response. We're running tomcat/apache at the moment. All > of these questions are good, however it doesn't really explain why this > would be happening so suddenly and why there is such a wide difference > between POST and GET. Do you have any other thoughts that i could > investigate? Some of these queries are taking almost 20 seconds to return, > but running them as GETS returns them in under a second (we've even > restarted servers to ensure query caching was cleared). > > We are running a nightly build - we might try a newer one. > > I will try and get some more info for you but any other insight would be > helpful. > > -- -- View this message in context: http://www.nabble.com/Solr-GET-requests-return-quickly%2C-POST-requests-take-very-long%2C-why--tp16396262p16407788.html Sent from the Solr - User mailing list archive at Nabble.com.(Continue reading)
Thanks for the help anyway everybody!
//Daniel
Uwe Klosa wrote:
> You should set uriEncoding="UTF-8" in your application server. For tomcat
> you can do that in the server.xml. For Glassfish you have to create a
> sun-web.xml containing the according parameters. Yoy r application server
> should provide a similar mechanism.
>
> Uwe
>
> On Mon, Mar 31, 2008 at 4:32 PM, Daniel Löfquist <
> daniel.lofquist <at> it.cdon.com> wrote:
>
>> Hello,
>>
>> We're building a webapplication that uses Solr for searching and I've
>> come upon a problem that I can't seem to get my head around.
>>
>> We have a servlet that accepts input via XML-RPC and based on that input
>> constructs the correct URL to perform a search with the Solr-servlet.
>>
>> I know that the call to Solr (the URL) from our servlet looks like this
>> (which is what it should look like):
>>
>>
RSS Feed