Update and delete enquiry

Dear All,

I am learning and evaluating the EC; and I have 2 questions about
document update and delete in EC.

First of all, if I want to update a document, do I just submit a new
post with the same ID to the EC? I have tried the steps and after
submitting in that way, The document no longer returns. In fact, I
cannot find any example on how to update doc on EC website.

Next, does the space of all deleted docs release NRT? If not, how can
I get back the space?

Thanks a lot.

Not sure I understand the questions. You update a document by indexing the
full document with the new data. Did not understand the second question on
deleted docs and release NRT?

On Sun, Aug 7, 2011 at 3:05 AM, CHI WAI HO zeroho@gmail.com wrote:

Dear All,

I am learning and evaluating the EC; and I have 2 questions about
document update and delete in EC.

First of all, if I want to update a document, do I just submit a new
post with the same ID to the EC? I have tried the steps and after
submitting in that way, The document no longer returns. In fact, I
cannot find any example on how to update doc on EC website.

Next, does the space of all deleted docs release NRT? If not, how can
I get back the space?

Thanks a lot.

The deleted docs stay in the underlying Lucene index until the next merge of
that index segment.

Curtis

On Sat, Aug 6, 2011 at 5:05 PM, CHI WAI HO zeroho@gmail.com wrote:

Dear All,

I am learning and evaluating the EC; and I have 2 questions about
document update and delete in EC.

First of all, if I want to update a document, do I just submit a new
post with the same ID to the EC? I have tried the steps and after
submitting in that way, The document no longer returns. In fact, I
cannot find any example on how to update doc on EC website.

Next, does the space of all deleted docs release NRT? If not, how can
I get back the space?

Thanks a lot.

Yes, they are, though just to complete the picture, they are "invisible"
when searching (on the next refresh).

On Mon, Aug 8, 2011 at 5:22 PM, Curtis Caravone caravone@gmail.com wrote:

The deleted docs stay in the underlying Lucene index until the next merge
of that index segment.

Elasticsearch Platform — Find real-time answers at scale | Elastic

Curtis

On Sat, Aug 6, 2011 at 5:05 PM, CHI WAI HO zeroho@gmail.com wrote:

Dear All,

I am learning and evaluating the EC; and I have 2 questions about
document update and delete in EC.

First of all, if I want to update a document, do I just submit a new
post with the same ID to the EC? I have tried the steps and after
submitting in that way, The document no longer returns. In fact, I
cannot find any example on how to update doc on EC website.

Next, does the space of all deleted docs release NRT? If not, how can
I get back the space?

Thanks a lot.