Get list of all the fields in indextype of index using java api

Can we get the list of fields of specific index type and index using java?

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/cb9a5b58-b956-4558-b99a-d8095989d5d1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

I do this by getting the mappings for a specific index, then isolating by
type if desired. This takes care of all explicitly mapped fields, and also
any automatically detected and mapped fields.

Especially in the latter case, it's a good way to check and see if
Elasticsearch is guessing your automatically mapped fields the way you
expect.

Brian

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/a1211d2e-530a-4b1a-8b8f-e81cfaf4293f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.