No collapse possibility on elasticsearch-js?

Hello,
When I try to use collapse parameter in my query,
it throws an exception saying : contains unrecognized parameter: [collapse]
How can I do field collapsing using a js client ?
Thank you

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