Skip to content

Add missing fields to _segments API #3160

@russcam

Description

@russcam

Elasticsearch 6.1.0 introduced attributes to the response for each segment in the response of the _segments API.

Also add

  • memory_in_bytes
  • version
  • compound

Example segment response

        "_av" : {
                "generation" : 391,
                "num_docs" : 14,
                "deleted_docs" : 27,
                "size_in_bytes" : 61621,
                "memory_in_bytes" : 7762,
                "committed" : true,
                "search" : true,
                "version" : "7.1.0",
                "compound" : true,
                "attributes" : {
                  "Lucene50StoredFieldsFormat.mode" : "BEST_COMPRESSION"
                }
              },

Deprecate Size

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions