I'd like to minimize the query output that ES generates to the essentials only. To do this, I'm using filter_query = hits.total,hits.hits._source.email,hits.hits._source.name. This works as expected, stripping fields like _score, _index and _id:
First: wrap code in ` and code blocks in ``` so they are easier to read.
Second: there isn't a generic transformation like that available that I know of. In general the other options around what fields are returned are about not having to load or deserialize them, not how they look.
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.