I have a question (docs count, deleted value,)


(jane white) #1

My elasticsearch version 0.90.8 and, 2 nodes(clustring).

I have a question.
I used "http://localhost:9200/_nodes/stats/indices?pretty=true"

"cluster_name" : "janecluster",
"nodes" : {
"jWjT2xNtQwOdn17oV9KhVg" : {
"timestamp" : 1388722961082,
"name" : "node_es01",
"transport_address" : "inet[/?.?.?.?:9300]",
"hostname" : "localhost.localdomain",
"attributes" : {
"master" : "true"
},
"indices" : {
"docs" : {
"count" : 5025,
"deleted" : 14
},

I don't know 'deleted value'. this value always changed. when docs deleted,
'deleted value' is incresed. but sometime 'deleted value' is decresed.
example)

deleted value: 14 after a few seconds deleted value: 10

I want to know delete value update time. and how to configure update time?

--
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 elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/f1a72209-e0a0-4383-a6f7-c60c6ef72242%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


(Jörg Prante) #2

What is delete value update time? There is no such thing like update times.

The deletes are the number of deleted doc in the segments, and when
segments merge, the deletes are physically removed. I do not recommend to
use this stat as a global counter for deletes since it is completely Lucene
internal.

Please update to 0.90.9 since 0.90.8 is broken.

Jörg

--
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 elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/CAKdsXoEoGuB2-twOF280hvSziPGB__kM1-DW8Q%2BVL0OtTfex_w%40mail.gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.


(jane white) #3

Thanks for your answer.
In my opinion, 'the deleted value' seems to be updated in a given time
period.
It seems that 'the deleted value' dose not indicate realtime data.
I think 'the deleted value'=realitime data + previous data.

2014년 1월 3일 금요일 오후 5시 0분 29초 UTC+9, Jörg Prante 님의 말:

What is delete value update time? There is no such thing like update times.

The deletes are the number of deleted doc in the segments, and when
segments merge, the deletes are physically removed. I do not recommend to
use this stat as a global counter for deletes since it is completely Lucene
internal.

Please update to 0.90.9 since 0.90.8 is broken.

Jörg

--
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 elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/d50e5ede-e1eb-4088-a92a-115499a1545a%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


(system) #4