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. Vinci wrote: > > Hi, > > I don't use POST request for query, but I think you should check what is > actually your browser sent by firebug first...Also, it will be more > helpful if you can tell us how long of your query are, and some > information of your query server, etc > > Quick comment: POST usually need longer time to process when compare to > GET. But I think you should pay more attention of your use on the search > engine......may be synonymy may help you to reduce the amount of > information of user sent. > > Thank you, > Vinci > > jnagro wrote: >> >> Hello, >> >> Earlier this week we started experiencing a strange situation with our >> Solr installation. We have a home-grown query tool which started to >> timeout (we had it set low at 2seconds which was always more than >> enough). In doing some rather in-depth investigation its appears that >> Solr is processing POST requests much much slower than GET requests. >> Using the solr admin interface i can GET a search in under a second >> (about 0.2 to be exact) and when i change that form to be a POST form >> (using firefox web-developer toolbar) suddenly the request takes ~5-7 >> seconds - sometimes longer - to return. Our query tool needs to make >> POSTS because we run into the max URL length problem very quickly with >> some of the queries we need to run. Any thoughts? I was going to try a >> newer build but it seems strange that we would all-of-a-sudden run into >> this issue. >> >> Thanks! >> >> -John >> > > -- View this message in context: http://www.nabble.com/Solr-GET-requests-return-quickly%2C-POST-requests-take-very-long%2C-why--tp16396262p16398625.html Sent from the Solr - User mailing list archive at Nabble.com.