-
Notifications
You must be signed in to change notification settings - Fork 25.8k
ES|QL: Hybrid search with FUSE (GA) #123389
Copy link
Copy link
Open
Labels
:Search Relevance/ES|QLSearch functionality in ES|QLSearch functionality in ES|QLES|QL-uiImpacts ES|QL UIImpacts ES|QL UIMetaTeam:Search RelevanceMeta label for the Search Relevance team in ElasticsearchMeta label for the Search Relevance team in Elasticsearchpriority:highA label for assessing bug priority to be used by ES engineersA label for assessing bug priority to be used by ES engineersv9.4.0
Metadata
Metadata
Assignees
Labels
:Search Relevance/ES|QLSearch functionality in ES|QLSearch functionality in ES|QLES|QL-uiImpacts ES|QL UIImpacts ES|QL UIMetaTeam:Search RelevanceMeta label for the Search Relevance team in ElasticsearchMeta label for the Search Relevance team in Elasticsearchpriority:highA label for assessing bug priority to be used by ES engineersA label for assessing bug priority to be used by ES engineersv9.4.0
Type
Fields
Give feedbackNo fields configured for Epic.
tracked in #123043
Hybrid search in ES|QL
Hybrid search is a retrieval method that combines multiple search strategies (lexical, knn, semantic etc) into a single query.
In ES|QL we are looking at supporting:
We will introduce a FUSE command that will group rows by _id, _index (these will be configurable) and apply different hybrid search ranking methods to obtain new relevance scores.
FUSE will support RRF and linear to start with.
FUSE will mostly be used in combination with FORK results, but is also a standalone primitive
Execution of FUSE
Conceptually FUSE will be split into multiple phases:
Feature work
Customizable colums used for fusing rows
#135079
RRF support
#134227
rank_constantLinear combination
#134543
minmaxscore normalizationl2_normscore normalizationImplementation follow-ups
(items such as tests and bug fixes aimed to stabilise the implementation - these are required for tech preview)
PRs:
(all the implementation PRs are linked here)
Initial prototype: #131078
Future enhancements
Some could be needed for GA (TODO should clarify which):