-
Notifications
You must be signed in to change notification settings - Fork 66
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[FEATURE] Hybrid search and collapse compatibility #665
Comments
@qmauret functionality of |
Hi, I'm having the same issue, for certain customers with products + product variants, it is ugly to have the same result repeated sometimes (eg: for the product size so the image is the same) Would be nice to have this feature for hybrid queries 👍 |
One more customer request: https://opensearch.slack.com/archives/C0539F41Z5X/p1722335776347039 |
Describe the bug
Using collapse feature in an hybrid search did not collapse documents.
Related component
Search
To Reproduce
I’m trying to combine hybrid search (semantic + keyword) with collapse feature to deduplicate products from same visual.
I have tried collapsed search on a basic search, which works great.
With hybrid search, the behaviour is a bit different. It places products from the same visual in the inner_hits field but did not collapse them (they are still present in the root level of the search results) which is not the expected behaviour.
Anyone’s aware of a problem of compatibility between hybrid and collapse ?
Expected behavior
I expect the same behaviour as performing a collapse on non hybrid search
Additional Details
Host/Environment (please complete the following information):
Additional context
Basic search with collapse (working as expected) :
Hybrid search with collapse (not working) :
The text was updated successfully, but these errors were encountered: