Skip to content

Support field collapsing with search_after #3725

@YuyaAbo

Description

@YuyaAbo

Is your feature request related to a problem? Please describe.

I cannot sort a collapsed field with collapse and paging with search_after. In Elasticsearch, since version 7.14, collapse and search_after can be used together only for the same field (ref https://www.elastic.co/guide/en/elasticsearch/reference/7.14/release-notes-7.14.0.html).

Describe the solution you'd like
It would be great if OpenSearch could do this as well.

example: https://www.elastic.co/guide/en/elasticsearch/reference/current/collapse-search-results.html#collapsing-with-search-after

Describe alternatives you've considered

Additional context

Metadata

Metadata

Assignees

No one assigned

    Labels

    Indexing & SearchenhancementEnhancement or improvement to existing feature or requestfeatureNew feature or request

    Type

    No type

    Projects

    Status

    ✅ Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions