Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature Request] Support index sorting for indices with nested fields #17026

Open
jhinch-at-atlassian-com opened this issue Jan 15, 2025 · 0 comments
Labels
enhancement Enhancement or improvement to existing feature or request Indexing Indexing, Bulk Indexing and anything related to indexing untriaged

Comments

@jhinch-at-atlassian-com

Is your feature request related to a problem? Please describe

Currently index sorting and nested fields are mutually exclusive features (validated by DocumentMapper). However it should be possible to allow them to be used together under certain constraints.

Describe the solution you'd like

Indexing sorting should be possible if the fields used for sorting are not on the nested document and are instead only on the parent document. This would allow for nested documents to have subsequent doc IDs immediately after the parent document

Related component

Indexing

Describe alternatives you've considered

No response

Additional context

Its not clear to me if simply tweaking the validation logic would be sufficient or if there are additional changes required when applying the index sort.

@jhinch-at-atlassian-com jhinch-at-atlassian-com added enhancement Enhancement or improvement to existing feature or request untriaged labels Jan 15, 2025
@github-actions github-actions bot added the Indexing Indexing, Bulk Indexing and anything related to indexing label Jan 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Enhancement or improvement to existing feature or request Indexing Indexing, Bulk Indexing and anything related to indexing untriaged
Projects
None yet
Development

No branches or pull requests

1 participant