Will a field with nested type holding array of single object be indexed as separate document by ES

The field with nested type will be indexed be indexed as a separate document and creates a relationship with the parent document internally.

My question is that if the nested filed has a array of single object instead of multiple object how does es indexes this data? will this also be indexed as a separate document or will it be indexed as the inner object of the parent document.

Each object in the array will behind the scenes be indexed as a separate object no matter the size of the array.

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