Skip to content

Commit a78cbdf

Browse files
committed
fixing docstrings
1 parent 4f9def6 commit a78cbdf

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

  • integrations/elasticsearch/src/haystack_integrations/document_stores/elasticsearch

integrations/elasticsearch/src/haystack_integrations/document_stores/elasticsearch/document_store.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -446,9 +446,7 @@ def _deserialize_document(self, hit: dict[str, Any]) -> Document:
446446

447447
def _handle_sparse_embedding(self, doc_dict: dict[str, Any], doc_id: str) -> None:
448448
"""
449-
Extracts the sparse_embedding from a document dict and converts it to
450-
the Elasticsearch sparse_vector format if sparse_vector_field is configured.
451-
Otherwise logs a warning.
449+
Extracts the sparse_embedding from a document dict and converts it to the Elasticsearch sparse_vector format.
452450
453451
:param doc_dict: The dictionary representation of the document.
454452
:param doc_id: The document ID, used for warning messages.

0 commit comments

Comments
 (0)