Get number of pending document writes?

http://www.elastic.co/guide/en/elasticsearch/reference/1.5/cat-pending-tasks.html
http://www.elastic.co/guide/en/elasticsearch/reference/1.5/cluster-pending.html

The documentation says a task (or a cluster level task) are things like
creating index, updating mapping, shard state.
Does this apply to writing documents to the index?

In our test code, it looks like document writes (indexing) is not happening
fast enough for search immediately.
Quick solution currently is by calling timer:sleep(seconds). I wonder if
there is a better way to get feedback from elastic about the current write
load?

Thanks,
David

--
Please update your bookmarks! We moved to https://discuss.elastic.co/

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/e81d2136-8d21-4b24-b580-05348ea96d5b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

In tests, you need to refresh the index before searching.
Elasticsearch is a near real time search engine.

See Refresh API | Elasticsearch Guide [8.11] | Elastic

Note that we moved the mailing list to https://discuss.elastic.co/

David

Le 6 mai 2015 à 04:32, David Liman limanoit@gmail.com a écrit :

cat pending tasks | Elasticsearch Guide [1.5] | Elastic
Pending cluster tasks | Elasticsearch Guide [1.5] | Elastic

The documentation says a task (or a cluster level task) are things like creating index, updating mapping, shard state.
Does this apply to writing documents to the index?

In our test code, it looks like document writes (indexing) is not happening fast enough for search immediately.
Quick solution currently is by calling timer:sleep(seconds). I wonder if there is a better way to get feedback from elastic about the current write load?

Thanks,
David

Please update your bookmarks! We moved to https://discuss.elastic.co/

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/e81d2136-8d21-4b24-b580-05348ea96d5b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--
Please update your bookmarks! We moved to https://discuss.elastic.co/

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/7FCC8F92-5DC6-4A7B-8698-F3148135FCEE%40pilato.fr.
For more options, visit https://groups.google.com/d/optout.