Closed taoyyu closed 1 month ago
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.
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.