Skip to content

fix: remove duplicate data inside metadata when index document with additional fields base from metadata #118

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Jorge13Math
Copy link

Remove duplicate data inside metadata when index document with additional fields base from metadata

This commit enhances the indexing process by ensuring that any fields extracted from metadata and added as separate top-level fields are no longer duplicated inside the metadata field itself. This helps prevent redundant data storage, simplifies queries, and maintains consistency between the metadata and the document’s main fields.

Modified methods:

  • add_embeddings
  • aadd_embeddings

@Jorge13Math Jorge13Math changed the title remove duplicate data inside metadata when index document with additional fields base from metadata fix: remove duplicate data inside metadata when index document with additional fields base from metadata Jun 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant