What do you want to do?
Tell us about your request.
Hybrid query documentation should document the behavior when hybrid query is used inside compound queries like bool or function_score query.
Starting from initial release in OpenSearch 2.11 hybrid query cannot be nested inside other queries. In version 3.6 team added a hard stop check that will throw exception for such queries (PR opensearch-project/neural-search#1791).
I suggest we update the hybrid query documentation and add Limitations section that explains all these details.
Version: 2.11+