Skip to content

DefaultSortQueryBuilder Appends id field even if model doesn't have an id field e.g., logstash index. #305

Description

@niemyjski

// Logstash indices are created/mapped entirely by the external Logstash pipeline, which
// never writes an id field. Foundatio.Repositories >= 7.18.0 unconditionally appends an
// id tie-breaker sort (DefaultSortQueryBuilder) to every query; against an index with no
// id mapping at all, Elasticsearch rejects the sort with all shards failed

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