Does ES store _id field in Lucene as its docid?

As the title asked,

Does ES store _id field in Lucene as its docid?

Or

ES just store _id field as an index-field and each time ES write a doc, lucene create an unique docid and return to ES?

I'm still online and waiting for help...

Please read the pinned post entitled About the Elasticsearch category, particularly the part starting "also be patient". It is not polite to bump your thread just a few hours after opening it as you just did.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.