Skip to content

Elasticsearch embeds only the first chunk of an entity's text #37525

Done

Description

@fmcardoso

What happens

On Elasticsearch, only the first chunk of an entity's text is embedded. VectorDocBuilder.buildEmbeddingFields embeds semanticChunks.get(0) into the entity doc, and Elasticsearch has no separate chunk index, unlike OpenSearch (OpenSearchVectorService writes one doc per chunk).

Impact

For a large table (many columns) or a topic with a wide schema (after #37522), anything past the first chunk (~380 words) cannot be found by semantic search on Elasticsearch, the OpenMetadata default. OpenSearch is unaffected.

Expected

Elasticsearch embeds every chunk, as OpenSearch does, or the limitation is documented.

Activity

  1. self-assigned this
    on Nov 11, 2026
  2. added
    enhancement
    on Nov 11, 2026
  3. moved this to In Review / QA 👀 in Shippingon Nov 21, 2026
  4. moved this from In Review / QA 👀 to Done ✅ in Shippingon Nov 25, 2026
  5. added a commit that references this issue on Nov 25, 2026
    5d5bb2c
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

enhancement

Type

No type

Projects

  • Status
    Done ✅

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions