You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Elasticsearch embeds only the first chunk of an entity's text #37525
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
Fixes open-metadata#37525: Run Elasticsearch semantic search on the s…