https://www.elastic.co/guide/en/elasticsearch/reference/current/nested.html
can we access elements in "user.first" such as user.first[0] and user.first[1]
user.first[0] = alice
user.first[1] = john
is it possible
https://www.elastic.co/guide/en/elasticsearch/reference/current/nested.html
can we access elements in "user.first" such as user.first[0] and user.first[1]
user.first[0] = alice
user.first[1] = john
is it possible
I'm assuming you're talking about in a scripted field, and yes you can:
params._source.user.first[0]
etc.
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
© 2020. All Rights Reserved - Elasticsearch
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant logo are trademarks of the Apache Software Foundation in the United States and/or other countries.