lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ryan McKinley <ryan...@gmail.com>
Subject Re: Solr GET requests return quickly, POST requests take very long, why?
Date Mon, 31 Mar 2008 15:08:54 GMT
what app container are you running on?  (jetty? tomcat? resin...)

what version of solr are you running?

In solr -- the request goes through all the same hoops if it is GET or  
POST, so I suspect it is something to do with the container... but  
honestly don't know.

ryan


On Mar 31, 2008, at 10:11 AM, 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--tp16396262p16396262.html
> Sent from the Solr - User mailing list archive at Nabble.com.
>


Mime
View raw message