-
Notifications
You must be signed in to change notification settings - Fork 72
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] Aggregations to be supported with Hybrid Search #509
Comments
Thanks @ankitas3. could you please explain the use case for this? |
@vamshin Use case here is to be able to filter data returned from hybrid query, filtering on any field available in docs. Currently the buckets returned all correspond to count 0. |
Moving this issue to neural search as the Hybrid Query clause belongs to Neural Search |
Hi! I'm confused by this issue being open and #422 being closed "as completed". Do aggs work properly with Hybrid search now? |
@binarymax I closed the #422 issue by commenting its a duplicate of this issue. I could have kept the older issue open, but seems like I forgot to check the dates and closed the older issue. You can see my comment here: #422 (comment) I updated the description of this issue to tag the older one.
The ans is no. |
@vamshin @navneet1v |
Hi @vamshin , are there any documentation implications for this feature in 2.13? Thanks! |
Hello, can you confirm that it will be available in 2.13 ? |
We have the documentation going out in 2.13: opensearch-project/documentation-website#6661. |
@qmauret Yes its going in 2.13 |
@martin-gaievski can we close this issue now. The feature will be released in 2.13 |
Hi, it seems that there is still some things to look at regarding this issue. I have an index of products which contains 16K products. Let's focus on a specific category called "Mug" (id: 5)
Result
1. Basic match query with aggregates
Result
2. Neural query with aggregates
Result
3. Hybrid query with aggregates
Result
4. Hybrid query without aggregates
Result
Hybrid query without aggregates gives a total of 98 results while the same query with aggregates exceeds by far this value. |
@qmauret thank you for reporting the problem. I was trying to replicate your steps locally, but with small dataset of 10 docs everything works correctly for me. One more question about the hybrid query, why you use size == 0? Typically it should return empty list even in case there are hits. |
Is your feature request related to a problem?
Currently the aggregations returned from Hybrid Query corresponds to doc_count 0 for all the buckets.
What solution would you like?
Aggregation's bucket count should be evaluated and returned correctly on the basis of hybrid queries.
Similar Issue:
#422
The text was updated successfully, but these errors were encountered: