So it created new segments and at some point expunges deletes but not all.
TBH, I'd prefer using another index with an alias on top of the older one and 
at the end, switch the alias to the new one and delete old index.

--
David ;-)
Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs


Le 29 mai 2014 à 17:29, Kirill Teplinskiy <[email protected]> a écrit :

Yes, exactly.  I update docs in the same index.

> On Thursday, May 29, 2014 9:10:40 PM UTC+6, David Pilato wrote:
> So you reindex into the same index and not in another clean one?
> So you "update" docs, right?
> 
> --
> David ;-)
> Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs
> 
> 
> Le 29 mai 2014 à 16:54, Kirill Teplinskiy <[email protected]> a écrit :
> 
> Thank you, David!
> 
> I need to call _optimize by hands to refresh payloads in completion 
> suggester.  This method is recommended here: 
> http://www.elasticsearch.org/guide/en/elasticsearch/reference/0.90/search-suggesters-completion.html.
>   For some reason _suggest returns old payloads after reindexing on our stage 
> server.  I don't know why, completion suggester on my local instance of 
> ElasticSearch updates on the fly.  Maybe because our stage index is 10Gb size 
> and contains 10 millions documents and my local index has only 180 000 
> documents.  
> 
>> On Thursday, May 29, 2014 7:37:24 PM UTC+6, David Pilato wrote:
>> In 99.9% you should not call optimize api and let elasticsearch/Lucene do it 
>> for you when needed.
>> 
>> To answer to your question, yes search and index operations will still 
>> possible during that time.
>> 
>> 
>> --
>> David ;-)
>> Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs
>> 
>> 
>> Le 29 mai 2014 à 14:37, Kirill Teplinskiy <[email protected]> a écrit :
>> 
>> Hello!
>> 
>> Can anyone tell is it safe to call _optimize under normal production work?  
>> Will search requests be responded and indexing be performed?
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "elasticsearch" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to [email protected].
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/elasticsearch/5c75d64c-4fb6-4fe0-aaec-8dc3c5cf68f4%40googlegroups.com.
>> For more options, visit https://groups.google.com/d/optout.
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "elasticsearch" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected].
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/elasticsearch/95b0bfcf-38b5-4880-ae50-efaa11aaddb1%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
"elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elasticsearch/f830d7a1-8ad8-4390-9860-dc04029c7cd8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
"elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elasticsearch/4FD36226-3CDC-4AF2-9327-60C72CD2B196%40pilato.fr.
For more options, visit https://groups.google.com/d/optout.

Reply via email to