segments.asciidoc 628 B

1234567891011121314151617
  1. [[indices-segments]]
  2. == Indices Segments
  3. Provide low level segments information that a Lucene index (shard level)
  4. is built with. Allows to be used to provide more information on the
  5. state of a shard and an index, possibly optimization information, data
  6. "wasted" on deletes, and so on.
  7. Endpoints include segments for a specific index, several indices, or
  8. all:
  9. [source,js]
  10. --------------------------------------------------
  11. curl -XGET 'http://localhost:9200/test/_segments'
  12. curl -XGET 'http://localhost:9200/test1,test2/_segments'
  13. curl -XGET 'http://localhost:9200/_segments'
  14. --------------------------------------------------