[ ] Report a technical problem with the documentation
[ ] Other
Tell us about your request. Provide a summary of the request.
We need to update the existing documentation for Hybrid queries to explicitly mention that the rescore clause is not compatible with hybrid queries. When a rescore clause is used in conjunction with a hybrid query, it will be ignored and will have no effect on the list of documents or their scores returned by the hybrid query.
A brief explanation of this behavior can be included:
Rescoring happens at the shard level, whereas the hybrid query performs score normalization across all hits at the coordinator node level.
Rescoring reorders documents based on newly computed scores from the rescore query and other rules, which conflicts with the score normalization process used by hybrid queries.
*Version: List the OpenSearch version to which this issue applies, e.g. 2.14, 2.12--2.14, or all.
All starting from 2.10 (first version that has hybrid query)
What do you want to do?
Tell us about your request. Provide a summary of the request. We need to update the existing documentation for Hybrid queries to explicitly mention that the rescore clause is not compatible with hybrid queries. When a rescore clause is used in conjunction with a hybrid query, it will be ignored and will have no effect on the list of documents or their scores returned by the hybrid query.
A brief explanation of this behavior can be included:
Rescoring happens at the shard level, whereas the hybrid query performs score normalization across all hits at the coordinator node level. Rescoring reorders documents based on newly computed scores from the rescore query and other rules, which conflicts with the score normalization process used by hybrid queries.
*Version: List the OpenSearch version to which this issue applies, e.g. 2.14, 2.12--2.14, or all. All starting from 2.10 (first version that has hybrid query)
What other resources are available? Provide links to related issues, POCs, steps for testing, etc. Main page for hybrid query: https://opensearch.org/docs/latest/search-plugins/hybrid-search/
Documentation page for rescore, ES 7.10. Hybrid query documentation: Hybrid Query Documentation Rescore documentation (Elasticsearch 7.10): Rescore Documentation (Note: A similar page for OpenSearch is unavailable) Customer-reported issue: GitHub Issue #914