Skip to content

[DOC] Document hybrid query behavior when it's nested inside compound queries like function_score #12079

@martin-gaievski

Description

@martin-gaievski

What do you want to do?

  • Request a change to existing documentation
  • Add new documentation
  • Report a technical problem with the documentation
  • Other

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+

Metadata

Metadata

Labels

Backlog - DEVDeveloper assigned to issue is responsible for creating PR.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions