Get only a field

Hello, i need to get just a field from an index how to do that using elasticsearch ?

Not sure I got the question. But may be something like:

https://www.elastic.co/guide/en/elasticsearch/reference/6.2/search-request-source-filtering.html

not by term, by field

I still don't understand the question. An example may be?


under the indice 14 there is a list of fields .
i just want to get one field by a json command

under the indice 14 there is a list of fields .

Yeah. Those are the fields that you created.
You can list the fields with

GET indice14/_mappings

i just want to get one field by a json command

You mean? The content of one field?

If so the documentation I linked to explains that.

1 Like

ok i will the documentation
for _mappings

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