Skip to content

Terms Facet: Allow to provide _index as the field, resulting in facets on indices #374

@kimchy

Description

@kimchy

When searching across several indices, sometimes it make sense to return a facet that includes a count of hits per index. This is similar in notion to terms facet (consider the index name as if it was a field stored in the index).

A simple terms facet definition, with _index as the field name will return a facet containing the mentioned info.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions