Skip to content

Use multivalued SortFields for index sorts - #593

Merged
mikemccand merged 1 commit into
mikemccand:mainfrom
romseygeek:bug/index-sort
Jul 13, 2026
Merged

Use multivalued SortFields for index sorts#593
mikemccand merged 1 commit into
mikemccand:mainfrom
romseygeek:bug/index-sort

Conversation

@romseygeek

Copy link
Copy Markdown
Collaborator

When an indexSort is defined on a benchmark index, we need to use SortedNumericSortField or SortedSetSortField as the Indexer builds fields that by default allow for multiple values. Without this change, indexing fails with an IllegalArgumentException.

When an indexSort is defined on a benchmark index, we need to use
SortedNumericSortField or SortedSetSortField as the Indexer builds
fields that by default allow for multiple values.  Without this
change, indexing fails with an IllegalArgumentException.
@romseygeek romseygeek self-assigned this Jul 13, 2026

@mikemccand mikemccand left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @romseygeek! Looks great!

@mikemccand
mikemccand merged commit 2a62684 into mikemccand:main Jul 13, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants