Elasticsearch different url examples

50 0 0 0

Last Updated : 2020-12-03 17:32:09

Here are a sample list for different operations you might need to do with elatsicsearch indices.


  1. View all indices
    http://localhost:9200/

    http://localhost:9200/_cat/indices


  2. View one index with all its data
    http://localhost:9200/federalbills/_search?pretty=true&q=*:*&size=2000​


  3. View mapping for an index
    http://localhost:9200/federalbills/_mapping?pretty=true​


  4. View mapping for a certain field in an index
    http://localhost:9200/federalbills/_mapping/field/billNumber?pretty=true​


Mohammed Anwar

Mohammed Anwar

Experienced technical lead PHP, MySQL and Laravel Developer for 15+ years, with proven ability to develop and create high-quality and optimized web applications. Great ability to build and optimize database design, schema and queries. Versed programing trainer and instructor delivering web courses and helping others to get into the field in a timely manner. Fast and eager learner for new technologies .