You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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):
OS: AWS
Version : 2.11
Additional context
Basic search with collapse (working as expected) :
[Triage - attendees 12345678]
@opensearch-project/admin Could you transfer this to the neural search repository, this seems related to its functionality.
bbarani
transferred this issue from opensearch-project/OpenSearch
Apr 3, 2024
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 👍
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: