Try to understand getIndexCurrent() function in Elasticsearch

Hi,

I'm new to Elasticsearch, and am trying to understand what on earth does getIndexCurrent() mean(http://xbib.org/elasticsearch/1.5.1/apidocs/org/elasticsearch/index/indexing/IndexingStats.Stats.html#getIndexCurrent--). By its literal meaning, i know it gets you the current index, but i couldn't find any detailed explanation of this function, and based on (https://www.elastic.co/guide/en/elasticsearch/guide/current/_monitoring_individual_nodes.html?q=monitoring) i think it means the number of docs currently being indexed?

Thanks,
Hao

I added some javadocs here: Add javadocs to IndexingStats.Stats by s1monw · Pull Request #14632 · elastic/elasticsearch · GitHub

Hi Simon,

I still can't find a comment for getIndexCurrent() from the link you listed(there are some for other functions), does this function return the number of docs currently being indexed?

Thanks,
Hao

Sorry my bad, found it.