Closed mayank-unscrambl closed 11 months ago
Thanks for creating the github issue. Aggregations is not be supported with Hybrid query as of now. This can be taken up as a feature request.
There is already an issue for supporting Aggregation with Hybrid Query Clause. Resolving the issue: https://github.com/opensearch-project/neural-search/issues/509
Describe the bug?
When performing a hybrid query along with bucket aggregation, the aggregation field in the response is empty but if the same query is converted to bool format, it gives proper response. Tried with both neural query and text query, gives empty aggregations in both.
How can one reproduce the bug?
What is the expected behavior?
Bucket aggregation is returned for the documents.
Screenshots
Create Index Request
Create normalization processor
/_search/pipeline/home-depot-search-pipeline
Sample Document
Sample query with params
(search_pipeline=home-depot-search-pipeline)
Response:
Query with bool clause
Response for query with bool clause
What is your host/environment?
OS: Linux running on EC2 installed with docker-compose