0

How do I view the name of all types in an index? Is there a cURL request for the same?

Inherited Geek
  • 2,283
  • 2
  • 19
  • 26

1 Answers1

2

This will give you all the types and its mappings

curl -XGET 'http://localhost:9200/index_name/_mapping?pretty=true

pratikvasa
  • 1,897
  • 20
  • 24