Skip to content

Commit 31ca59d

Browse files
committed
Add missing exist to *_update functions' docs
1 parent 38309ef commit 31ca59d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/indexes.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -668,7 +668,7 @@ impl<Http: HttpClient> Index<Http> {
668668
self.add_or_replace(documents, primary_key).await
669669
}
670670

671-
/// Add a raw ndjson payload and update them if they already.
671+
/// Add a raw ndjson payload and update them if they already exist.
672672
///
673673
/// It configures the correct content type for ndjson data.
674674
///
@@ -760,7 +760,7 @@ impl<Http: HttpClient> Index<Http> {
760760
.await
761761
}
762762

763-
/// Add a raw csv payload and update them if they already.
763+
/// Add a raw csv payload and update them if they already exist.
764764
///
765765
/// It configures the correct content type for csv data.
766766
///
@@ -850,7 +850,7 @@ impl<Http: HttpClient> Index<Http> {
850850
.await
851851
}
852852

853-
/// Add a list of documents and update them if they already.
853+
/// Add a list of documents and update them if they already exist.
854854
///
855855
/// If you send an already existing document (same id) the old document will be only partially updated according to the fields of the new document.
856856
/// Thus, any fields not present in the new document are kept and remained unchanged.

0 commit comments

Comments
 (0)