I'm using the search API to query records across multiple indexes, so I know there will be duplicate records. I'd like to use the
search_after parameter for pagination since using
from has caused problems with heap memory for large queries. However, we were using
collapse to remove duplicates from the results, which is not supported with
search_after. Are there any workarounds for this?