Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add missing exist to *_update functions' docs #617

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions src/indexes.rs
Original file line number Diff line number Diff line change
Expand Up @@ -668,7 +668,7 @@ impl<Http: HttpClient> Index<Http> {
self.add_or_replace(documents, primary_key).await
}

/// Add a raw ndjson payload and update them if they already.
/// Add a raw ndjson payload and update them if they already exist.
///
/// It configures the correct content type for ndjson data.
///
Expand Down Expand Up @@ -760,7 +760,7 @@ impl<Http: HttpClient> Index<Http> {
.await
}

/// Add a raw csv payload and update them if they already.
/// Add a raw csv payload and update them if they already exist.
///
/// It configures the correct content type for csv data.
///
Expand Down Expand Up @@ -850,7 +850,7 @@ impl<Http: HttpClient> Index<Http> {
.await
}

/// Add a list of documents and update them if they already.
/// Add a list of documents and update them if they already exist.
///
/// 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.
/// Thus, any fields not present in the new document are kept and remained unchanged.
Expand Down