- Notifications
You must be signed in to change notification settings - Fork 25.5k
Closed
Labels
:Search Relevance/SearchCatch all for Search RelevanceCatch all for Search Relevance:SearchOrg/RelevanceLabel for the Search (solution/org) Relevance teamLabel for the Search (solution/org) Relevance teambug"" muted="" aria-describedby="MDU6TGFiZWwyMzE3Mw==-tooltip :R7b96b:">>bugTeam:Search - RelevanceThe Search organization Search Relevance teamThe Search organization Search Relevance teamTeam:Search RelevanceMeta label for the Search Relevance team in ElasticsearchMeta label for the Search Relevance team in ElasticsearchTeam:SearchOrgMeta label for the Search Org (Enterprise Search)Meta label for the Search Org (Enterprise Search)
Description
Elasticsearch Version
Serverless
Installed Plugins
No response
Java Version
bundled
OS Version
Serverless
Problem Description
When performing semantic
highlighting on a semantic_text
field with flat
, int4_flat
or int8_flat
quantization, the semantic
highlighter does not return results. Highlighting is returned with default or specified HNSW quantization.
Steps to Reproduce
DELETE test-index PUT test-index { "mappings": { "properties": { "body_content_e5": { "type": "semantic_text", "inference_id": ".multilingual-e5-small-elasticsearch", "index_options": { "dense_vector": { "type": "int4_hnsw", "confidence_interval": 0 } } } } } } PUT test-index/_doc/1 { "body_content_e5": "Elasticsearch is an open source, distributed, RESTful, search engine which is built on top of Lucene internally and enjoys all the features it provides." } get test-index/_search { "highlight": { "fields": { "body_content_e5": { "number_of_fragments": 1, "order": "score", "type": "semantic" } } }, "fields": [ "_inference_fields" ], "retriever": { "standard": { "query": { "semantic": { "field": "body_content_e5", "query": "What is Elasticsearch?" } } } } }
Logs (if relevant)
No response
Metadata
Metadata
Assignees
Labels
:Search Relevance/SearchCatch all for Search RelevanceCatch all for Search Relevance:SearchOrg/RelevanceLabel for the Search (solution/org) Relevance teamLabel for the Search (solution/org) Relevance teambug"" muted="" aria-describedby="MDU6TGFiZWwyMzE3Mw==-tooltip :Re5pmb:">>bugTeam:Search - RelevanceThe Search organization Search Relevance teamThe Search organization Search Relevance teamTeam:Search RelevanceMeta label for the Search Relevance team in ElasticsearchMeta label for the Search Relevance team in ElasticsearchTeam:SearchOrgMeta label for the Search Org (Enterprise Search)Meta label for the Search Org (Enterprise Search)