The elasticsearch documentation indicates that it is possible to use search_after with field collapse, as long the results are sorted exclusively by the collapsing field.
Is this possible with spring-data-elasticsearch? A cursory look at the code suggests it's not possible as _shard_doc is always added to the sort criteria as a tiebreaker
The elasticsearch documentation indicates that it is possible to use
search_afterwith field collapse, as long the results are sorted exclusively by the collapsing field.Is this possible with
spring-data-elasticsearch? A cursory look at the code suggests it's not possible as_shard_docis always added to the sort criteria as a tiebreaker