I need to get specific fields rather than getting all the values in hits.
Use _source query parameter to specify which fields should be returned:
https://www.elastic.co/guide/en/elasticsearch/reference/current/search-request-source-filtering.html
I need to get specific fields rather than getting all the values in hits.
Use _source query parameter to specify which fields should be returned:
https://www.elastic.co/guide/en/elasticsearch/reference/current/search-request-source-filtering.html
© 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.