Hi,
ES sets 50 as a limit of nested fields, as explained here: https://www.elastic.co/guide/en/elasticsearch/reference/current/mapping.html#mapping-limit-settings
As we plan to store potentially large objects in ES, we are thinking, how to deal with it. As a first step, I created an object with a nested field and filled 200 items in the nested collection. The object was indexed without complaining.
So my first question is, if I probably have a wrong understanding of the nested_fields.limit. Does it mean, that all nested fields of an index type are limited to a total of 50 items or does it mean, that maximum 50 nested arrays are allowed?
My second question is, what is the recommended strategy for the case, that one have objects containing arrays with lots of items to store in ES (or objects with lots of arrays inside). Is it better to increase the nested fields limit or is it better to save the arrays / array items in a separate index and get the root objects by merging the data from two (or more) indices?
Regards,
Alexander