Thanks Binh, but I don't think you got the fullest gist of my question. I
want to be able to minimize reindexing of the same document too many times.
What I would like to do is to turn off indexing/refreshing and even
transaction log flushing in between of the batched partial updates. If I
do turn off all of these mechanisms and send a batch of partial updates to
the same document, then it seems there would be no need to reindex the
document into Lucene segments too many times. The whole batch could
operate on the same document and even increment the version numbers in the
transaction log itself. But I think you're implying that the document
would be reindexed into a lucene segment per partial update? What I'm
looking for is roughly this sequence of events:
1. document A is indexed and merged into the segment: document VERSION 1
2. turn off all indexing and transaction log flushing
3. send in a batch of changes to document A containing partial updates: {
A', A'', A''', A'''' }
4. transaction log operates on document A applying the partial updates above
5. modified document A now looks like A'''' and shows document VERSION 5
6. turn on indexing and transaction log flushing
7. document A'''' with version 5 gets merged and indexed into the segment
What I want to achieve is to absorb a lot of incremental updates to a
document in the transaction log without re-indexing per partial update. Is
this possible?
Thanks!!
On Wednesday, February 26, 2014 5:52:24 AM UTC-8, Binh Ly wrote:
>
> Yes each partial update will record to the transaction log. Whenever the
> log is flushed, each update is replayed and the document version is
> incremented per update.
>
--
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/998f00e6-42b2-44ce-a4f2-1c90e68750ff%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.