Skip to content

Conversation

@davidsbatista
Copy link
Contributor

@davidsbatista davidsbatista commented Dec 2, 2025

Related Issues

  • fixes #issue-number

Proposed Changes:

Added four new methods to ElasticsearchDocumentStore

  • delete_by_filter(filters: dict[str, Any]) -> int
  • delete_by_filter_async(filters: dict[str, Any]) -> int
  • update_by_filter(filters: dict[str, Any], meta: dict[str, Any]) -> int
  • update_by_filter_async(filters: dict[str, Any], meta: dict[str, Any]) -> int

How did you test it?

Four new tests added

  • test_delete_by_filter() - Tests synchronous deletion by filter
  • test_update_by_filter() - Tests synchronous metadata updates
  • test_delete_by_filter_async() - Tests async deletion by filter
  • test_update_by_filter_async() - Tests async metadata updates

Checklist

@github-actions github-actions bot added integration:elasticsearch type:documentation Improvements or additions to documentation labels Dec 2, 2025
@davidsbatista davidsbatista marked this pull request as ready for review December 2, 2025 15:06
@davidsbatista davidsbatista requested a review from a team as a code owner December 2, 2025 15:06
@davidsbatista davidsbatista requested review from mpangrazzi and removed request for a team December 2, 2025 15:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

integration:elasticsearch type:documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants