Get specific flieds


(Teddy) #1

I need to get specific fields rather than getting all the values in hits.


#2

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


(system) #3

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.