Thanks for the great advice Erick.
On 14 April 2016 at 18:18, Erick Erickson wrote:
> BTW, the place optimize seems best used is when the index isn't
> updated very often. I've seen a pattern where the index is updated
> once a night (or even less). In that situation, optimization makes
> more s
BTW, the place optimize seems best used is when the index isn't
updated very often. I've seen a pattern where the index is updated
once a night (or even less). In that situation, optimization makes
more sense. But when an index is continually updated, it's mostly
wasted effort.
Best,
Erick
On Thu
Unless you have somewhat unusual circumstances, I wouldn't optimize at
all, despite the name it really doesn't help all that much in _most_
cases.
If your percentage deleted docs doesn't exceed, say, 15-20% I wouldn't
bother. Most of what optimize does is reclaim resources from deleted
docs. This
Thanks Erick, for pointing out. You are right. I was optimizing every 10
mins. And I have change this to every day in night.
On 14-Apr-2016 5:20 pm, "Erick Erickson" wrote:
> don't issue an optimize command... either you have a solrj client that
> issues a client.optimize() command or you pre
don't issue an optimize command... either you have a solrj client that
issues a client.optimize() command or you pressed the "optimize now"
in the admin UI. Solr doesn't do this by itself.
Best,
Erick
On Thu, Apr 14, 2016 at 8:30 AM, Novin Novin wrote:
> How can I stop happening "DirectUpdateHan
How can I stop happening "DirectUpdateHandler2 Starting optimize... Reading
and rewriting the entire index! Use with care"
Thanks
novin
On 14 April 2016 at 14:36, Shawn Heisey wrote:
> On 4/14/2016 7:23 AM, Novin Novin wrote:
> > Thanks for reply Shawn.
> >
> > Below is snippet of jetty.xml and
On 4/14/2016 7:23 AM, Novin Novin wrote:
> Thanks for reply Shawn.
>
> Below is snippet of jetty.xml and jetty-https.xml
>
> jetty.xml:38: name="solr.jetty.threads.idle.timeout" default="5000"/>
> /// I presume this one I should increase, But I believe 5 second is enough
> time for 250 docs to
Thanks for reply Shawn.
Below is snippet of jetty.xml and jetty-https.xml
jetty.xml:38:
/// I presume this one I should increase, But I believe 5 second is enough
time for 250 docs to add to solr.
jetty.xml:39:
jetty-https.xml:45:
I'm also seeing "DirectUpdateHandler2 Starting
On 4/14/2016 4:40 AM, Novin Novin wrote:
> I'm having error
>
> when sending solr doc
> mid15955728
> org.apache.solr.client.solrj.SolrServerException: Timeout occured
> while waiting response from server at:
> http://localhost.com:8983/solr/analysis
> Caused by: java.net.SocketTimeoutException