elasticsearch - How to filter _source before it is returned back from API? -
I have many fields in the indexed document How can I strengthen specific areas to achieve? In general, to answer your answer, for the version & lt; 1 Usage (in the search request) If the field contains the response, the source is not if the version & gt; = 1 Then, can be found using source filtering is. Hope it helps. _source . However I have to return the Search Search form Do not need to Now for every document, the complete
_source is returned to each
_source
{"fields": ["the fields you want to receive"]}
{"_source": ["field to include"]}
Comments
Post a Comment