Ask a question to get started
Enter to sendā¢Shift+Enter new line
Delete documents from the Elasticsearch index.
adelete( self, ids: Optional[List[str]] = None, refresh_indices: Optional[bool] = True, **kwargs: Any = {} ) -> Optional[bool]
ids
Optional[List[str]]
None
List of ids of documents to delete.
refresh_indices
Optional[bool]
True
Whether to refresh the index after deleting documents. Defaults to True.