Optimize can take a long time.

Why are you doing an optimize? It doesn’t really optimize the index, it only 
forces merges and deletions. Solr does that automatically in the background.

wunder
Walter Underwood
[email protected]
http://observer.wunderwood.org/  (my blog)


> On Jul 13, 2017, at 5:42 AM, marotosg <[email protected]> wrote:
> 
> Hi,
> 
> I am getting HTTP ERROR 504 when doing an optimization operation. Not
> always, it's pretty random.
> Trying to figure out if Solr, jetty or either the browser breaks the
> connection after specific time.
> I have successful optimizations which take aprox 10 minutes.
> 
> I had a look to Solr Source code and can't find anywhere where Solr returns
> a 504 error message so I assume could be Jetty.  Checking Jetty and can't
> find any parameter other than
> <Set name="idleTimeout"><Property name="solr.jetty.http.idleTimeout"
> default="50000"/></Set>
> Which I assume is set to 50 seconds.
> I am using Solr6.1. 
> 
> Any help?
> 
> Thanks a lot
> Sergio
> 
> 
> 
> --
> View this message in context: 
> http://lucene.472066.n3.nabble.com/HTTP-ERROR-504-Optimize-tp4345815.html
> Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to