Hi,
Search API has the possibility to return doc value fields:
https://www.elastic.co/guide/en/elasticsearch/reference/current/search-request-docvalue-fields.html
Is it possible to do the same, but with the document API (simple GET)?
Hi,
Search API has the possibility to return doc value fields:
https://www.elastic.co/guide/en/elasticsearch/reference/current/search-request-docvalue-fields.html
Is it possible to do the same, but with the document API (simple GET)?
Unfortunately not. The Document GET implementation does not touches docvalues related data structures.
But you can combine the docvalue_fields
option with an Ids Query.
The biggest problem with query is it's not realtime... I've opened an issue and the conclusion there was the doc API should be converted to the internal search implementation while maintaining the realtime aspects.
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.