Skip to content

[BUG] Pagination of index aliases is not supported #1398

@MaxKsyunz

Description

@MaxKsyunz

What is the bug?
Pagination of index alias does not work.

How can one reproduce the bug?
Steps to reproduce the behaviour:

  1. Create an index -- indexA -- and load data
  2. Create an alias -- aliasA -- for the index
  3. Send query like SELECT * FROM aliasA with non-zero fetch_size
  4. See error like
{
    "error": {
        "details": "Index type [alias_phrases] does not exist",
        "reason": "There was internal problem at backend",
        "type": "IllegalArgumentException"
    },
    "status": 500
}

What is the expected behavior?
Paging an index directly or its alias should produce the same result.

See this stack overflow question for reference.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingerror-experienceIssues related to how we handle failure cases in the plugin.paginationPagination feature, ref #656

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions