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

fix ATOM sort and searchAfter #732

Merged
merged 1 commit into from
Sep 27, 2024
Merged

fix ATOM sort and searchAfter #732

merged 1 commit into from
Sep 27, 2024

Conversation

taoyyu
Copy link
Contributor

@taoyyu taoyyu commented Sep 26, 2024

Sort with ATOM was broken. There was a recent fix to use SORTED doc value by default.
However, ATOM is still broken due to conversion between BytesRef and String here https://github.com/taoyyu/nrtsearch/blob/3b366075766d80033c05dd5c66c872def56f831a/src/main/java/com/yelp/nrtsearch/server/luceneserver/search/sort/SortParser.java#L156

And we have to convert the String to BytesRef for searchAfter.

Added some tests for it.

@taoyyu taoyyu merged commit bef28b4 into Yelp:main Sep 27, 2024
1 check passed
taoyyu added a commit to taoyyu/nrtsearch that referenced this pull request Oct 1, 2024
taoyyu added a commit that referenced this pull request Oct 2, 2024
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.

3 participants