Skip to content

refactor: weaviate, chroma, elasticsearch, opensearch, azure_ai_search use _normalize_metadata_field_name from haystack.utils#2953

Open
davidsbatista wants to merge 1 commit intomainfrom
feat/using-normalize-metadata-from-haystack-util
Open

refactor: weaviate, chroma, elasticsearch, opensearch, azure_ai_search use _normalize_metadata_field_name from haystack.utils#2953
davidsbatista wants to merge 1 commit intomainfrom
feat/using-normalize-metadata-from-haystack-util

Conversation

@davidsbatista
Copy link
Contributor

@davidsbatista davidsbatista commented Mar 12, 2026

Related Issues

Proposed Changes:

  • weaviate, chroma, elasticsearch, opensearch, azure_ai_search all use the same metadata normalization function - instead of duplicating the code, import it from haystack.utils

How did you test it?

  • exact same tests should run without any issues

Notes for the reviewer

  • need to wait until next haystack release so that the function can be imported from the pip package

Checklist

@github-actions github-actions bot added the type:documentation Improvements or additions to documentation label Mar 12, 2026
@davidsbatista davidsbatista changed the title initial import refactor: weaviate, chroma, elasticsearch, opensearch, azure_ai_search use _normalize_metadata_field_name from haystack.utils Mar 12, 2026
@davidsbatista
Copy link
Contributor Author

need to wait until next haystack release so that we can import from haystack.utils

@davidsbatista davidsbatista marked this pull request as ready for review March 12, 2026 14:03
@davidsbatista davidsbatista requested a review from a team as a code owner March 12, 2026 14:03
@davidsbatista davidsbatista requested review from anakin87 and bogdankostic and removed request for a team and bogdankostic March 12, 2026 14:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Some document stores can use the _normalize_metadata_field_name from haystack.utils

1 participant