Good day.
I have a big index with 10 million records and for pagination I'm using searchAfter property from query with some sorting. Sorting is done on a field with type 'icu_collation_keyword'
It works very fine.
But sometimes I need to scroll to some random document in the middle and I need to load documents after it.
But I cannot do that, because ES waits for values like this: "ᒨ䳏攦匐ࡘݰ᐀ \u0001".
So the question is, I have a document and I have field value used for sorting, but I cannot pass it into searchAfter because it waits sort value in a different format. Maybe I can convert somehow field value in Java client or maybe I can somehow retrieve that value with document from index?
ES version 5.6