WARNING: Version 5.x has passed its EOL date.
This documentation is no longer being maintained and may be removed. If you are running this version, we strongly advise you to upgrade. For the latest information, see the current release documentation.
Segments
editSegments
editProvide low level segments information that a Lucene index (shard level) is built with. Allows to be used to provide more information on the state of a shard and an index, possibly optimization information, data “wasted” on deletes, and so on.
All indices segments information
editvar r = this.ConnectedClient.Segments(); r.Indices[this.Settings.DefaultIndex].Shards["0"].Segments["_l"].SizeInBytes;