Skip to content

[FEATURE] Fine-grained implicit sorting #3883

@LantaoJin

Description

@LantaoJin

Is your feature request related to a problem?

  1. When the index.sort.field and index.sort.order settings are specified, Ref link, implicit sorting by the fields of index.sort.field.

  2. Data stream is time-series data such as logs, events, and metrics into OpenSearch. Ref link. Time series based workload sort optimization through Lucene segment sorting.. Implicit sorting for data stream could be specified to @timestamp instead of _id or _doc.

What solution would you like?
If an index contains index.sort.field, implicit sorting by index.sort.field.
If an data stream contains @timestamp, implicit sorting by @timestamp.
Excepts, keep as is sorting by _id + _doc

Do you have any additional context?
#3064

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

Status

Won't do

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions