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?
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?
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?
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?
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.