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

Remove search client helper method #18578

Merged
Show file tree
Hide file tree
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
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ public SearchClient(System.Uri endpoint, string indexName, Azure.AzureKeyCredent
public virtual string ServiceName { get { throw null; } }
public virtual Azure.Response<Azure.Search.Documents.Models.AutocompleteResults> Autocomplete(string searchText, string suggesterName, Azure.Search.Documents.AutocompleteOptions options = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; }
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.Search.Documents.Models.AutocompleteResults>> AutocompleteAsync(string searchText, string suggesterName, Azure.Search.Documents.AutocompleteOptions options = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; }
public virtual Azure.Search.Documents.SearchIndexingBufferedSender<T> CreateIndexingBufferedSender<T>(Azure.Search.Documents.SearchIndexingBufferedSenderOptions<T> options = null) { throw null; }
public virtual Azure.Response<Azure.Search.Documents.Models.IndexDocumentsResult> DeleteDocuments(string keyName, System.Collections.Generic.IEnumerable<string> keyValues, Azure.Search.Documents.IndexDocumentsOptions options = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; }
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.Search.Documents.Models.IndexDocumentsResult>> DeleteDocumentsAsync(string keyName, System.Collections.Generic.IEnumerable<string> keyValues, Azure.Search.Documents.IndexDocumentsOptions options = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; }
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.Search.Documents.Models.IndexDocumentsResult>> DeleteDocumentsAsync<T>(System.Collections.Generic.IEnumerable<T> documents, Azure.Search.Documents.IndexDocumentsOptions options = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; }
Expand Down
21 changes: 0 additions & 21 deletions sdk/search/Azure.Search.Documents/src/SearchClient.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1899,26 +1899,5 @@ public virtual async Task<Response<IndexDocumentsResult>> DeleteDocumentsAsync(
}
}
#endregion Index Documents Conveniences

/// <summary>
/// Creates a new <see cref="SearchIndexingBufferedSender{T}"/> that
/// can be used to index search documents with intelligent batching,
/// automatic flushing, and retries for failed indexing actions.
/// </summary>
/// <typeparam name="T">
/// The .NET type that maps to the index schema. Instances of this
/// type can be retrieved as documents from the index. You can use
/// <see cref="SearchDocument"/> for dynamic documents.
/// </typeparam>
/// <param name="options">
/// The <see cref="SearchIndexingBufferedSenderOptions{T}"/> to
/// customize the sender's behavior.
/// </param>
/// <returns>
/// A new <see cref="SearchIndexingBufferedSender{T}"/>.
/// </returns>
public virtual SearchIndexingBufferedSender<T> CreateIndexingBufferedSender<T>(
SearchIndexingBufferedSenderOptions<T> options = null) =>
new SearchIndexingBufferedSender<T>(this, options);
}
}
Loading