Removing duplicates when using search_after

:wave: Hi!

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?

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.