lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Walter Underwood <wun...@wunderwood.org>
Subject Re: HTTP ERROR 504 - Optimize
Date Thu, 13 Jul 2017 14:33:41 GMT
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
wunder@wunderwood.org
http://observer.wunderwood.org/  (my blog)


> On Jul 13, 2017, at 5:42 AM, marotosg <marotosg@gmail.com> 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.


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message