368 строки
36 KiB
YAML
368 строки
36 KiB
YAML
### YamlMime:JavaType
|
|
uid: "com.azure.search.SearchIndexAsyncClient"
|
|
fullName: "com.azure.search.SearchIndexAsyncClient"
|
|
name: "SearchIndexAsyncClient"
|
|
nameWithType: "SearchIndexAsyncClient"
|
|
summary: "Cognitive Search Asynchronous Client to query an index and upload, merge, or delete documents"
|
|
inheritances:
|
|
- "<xref href=\"java.lang.Object?displayProperty=fullName\" data-throw-if-not-resolved=\"False\" />"
|
|
inheritedClassMethods:
|
|
- classRef: "java.lang.<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html\">Object</a>"
|
|
methodsRef:
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#clone--\">clone</a>"
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#equals-java.lang.Object-\">equals</a>"
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#finalize--\">finalize</a>"
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#getClass--\">getClass</a>"
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#hashCode--\">hashCode</a>"
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notify--\">notify</a>"
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notifyAll--\">notifyAll</a>"
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#toString--\">toString</a>"
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait--\">wait</a>"
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-\">wait</a>"
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-int-\">wait</a>"
|
|
syntax: "public final class **SearchIndexAsyncClient**"
|
|
methods:
|
|
- uid: "com.azure.search.SearchIndexAsyncClient.autocomplete(java.lang.String,java.lang.String)"
|
|
fullName: "com.azure.search.SearchIndexAsyncClient.autocomplete(String searchText, String suggesterName)"
|
|
name: "autocomplete(String searchText, String suggesterName)"
|
|
nameWithType: "SearchIndexAsyncClient.autocomplete(String searchText, String suggesterName)"
|
|
summary: "Autocompletes incomplete query terms based on input text and matching terms in the index."
|
|
parameters:
|
|
- description: "search text"
|
|
name: "searchText"
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
|
|
- description: "suggester name"
|
|
name: "suggesterName"
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
|
|
syntax: "public AutocompletePagedFlux autocomplete(String searchText, String suggesterName)"
|
|
desc: "Autocompletes incomplete query terms based on input text and matching terms in the index."
|
|
returns:
|
|
description: "auto complete result."
|
|
type: "<xref href=\"com.azure.search.util.AutocompletePagedFlux?alt=com.azure.search.util.AutocompletePagedFlux&text=AutocompletePagedFlux\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.azure.search.SearchIndexAsyncClient.autocomplete(java.lang.String,java.lang.String,com.azure.search.models.AutocompleteOptions,com.azure.search.models.RequestOptions)"
|
|
fullName: "com.azure.search.SearchIndexAsyncClient.autocomplete(String searchText, String suggesterName, AutocompleteOptions autocompleteOptions, RequestOptions requestOptions)"
|
|
name: "autocomplete(String searchText, String suggesterName, AutocompleteOptions autocompleteOptions, RequestOptions requestOptions)"
|
|
nameWithType: "SearchIndexAsyncClient.autocomplete(String searchText, String suggesterName, AutocompleteOptions autocompleteOptions, RequestOptions requestOptions)"
|
|
summary: "Autocompletes incomplete query terms based on input text and matching terms in the index."
|
|
parameters:
|
|
- description: "search text"
|
|
name: "searchText"
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
|
|
- description: "suggester name"
|
|
name: "suggesterName"
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
|
|
- description: "autocomplete options"
|
|
name: "autocompleteOptions"
|
|
type: "<xref href=\"com.azure.search.models.AutocompleteOptions?alt=com.azure.search.models.AutocompleteOptions&text=AutocompleteOptions\" data-throw-if-not-resolved=\"False\" />"
|
|
- description: "additional parameters for the operation. Contains the tracking ID sent with the request to\n help with debugging"
|
|
name: "requestOptions"
|
|
type: "<xref href=\"com.azure.search.models.RequestOptions?alt=com.azure.search.models.RequestOptions&text=RequestOptions\" data-throw-if-not-resolved=\"False\" />"
|
|
syntax: "public AutocompletePagedFlux autocomplete(String searchText, String suggesterName, AutocompleteOptions autocompleteOptions, RequestOptions requestOptions)"
|
|
desc: "Autocompletes incomplete query terms based on input text and matching terms in the index."
|
|
returns:
|
|
description: "auto complete result."
|
|
type: "<xref href=\"com.azure.search.util.AutocompletePagedFlux?alt=com.azure.search.util.AutocompletePagedFlux&text=AutocompletePagedFlux\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.azure.search.SearchIndexAsyncClient.deleteDocuments(java.lang.Iterable<?>)"
|
|
fullName: "com.azure.search.SearchIndexAsyncClient.deleteDocuments(Iterable<?> documents)"
|
|
name: "deleteDocuments(Iterable<?> documents)"
|
|
nameWithType: "SearchIndexAsyncClient.deleteDocuments(Iterable<?> documents)"
|
|
summary: "Deletes a collection of documents from the target index."
|
|
parameters:
|
|
- description: "collection of documents to delete from the target Index. Fields other than the key are ignored."
|
|
name: "documents"
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Iterable.html\">Iterable</a><?>"
|
|
syntax: "public Mono<IndexDocumentsResult> deleteDocuments(Iterable<?> documents)"
|
|
desc: "Deletes a collection of documents from the target index."
|
|
returns:
|
|
description: "document index result."
|
|
type: "<a href=\"https://projectreactor.io/docs/core/release/api/reactor/core/publisher/Mono.html\">Mono</a><<xref href=\"com.azure.search.models.IndexDocumentsResult?alt=com.azure.search.models.IndexDocumentsResult&text=IndexDocumentsResult\" data-throw-if-not-resolved=\"False\" />>"
|
|
- uid: "com.azure.search.SearchIndexAsyncClient.deleteDocumentsWithResponse(java.lang.Iterable<?>)"
|
|
fullName: "com.azure.search.SearchIndexAsyncClient.deleteDocumentsWithResponse(Iterable<?> documents)"
|
|
name: "deleteDocumentsWithResponse(Iterable<?> documents)"
|
|
nameWithType: "SearchIndexAsyncClient.deleteDocumentsWithResponse(Iterable<?> documents)"
|
|
summary: "Deletes a collection of documents from the target index."
|
|
parameters:
|
|
- description: "collection of documents to delete from the target Index. Fields other than the key are ignored."
|
|
name: "documents"
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Iterable.html\">Iterable</a><?>"
|
|
syntax: "public Mono<Response<IndexDocumentsResult>> deleteDocumentsWithResponse(Iterable<?> documents)"
|
|
desc: "Deletes a collection of documents from the target index."
|
|
returns:
|
|
description: "response containing the document index result."
|
|
type: "<a href=\"https://projectreactor.io/docs/core/release/api/reactor/core/publisher/Mono.html\">Mono</a><<xref href=\"com.azure.core.http.rest.Response?alt=com.azure.core.http.rest.Response&text=Response\" data-throw-if-not-resolved=\"False\" /><<xref href=\"com.azure.search.models.IndexDocumentsResult?alt=com.azure.search.models.IndexDocumentsResult&text=IndexDocumentsResult\" data-throw-if-not-resolved=\"False\" />>>"
|
|
- uid: "com.azure.search.SearchIndexAsyncClient.getDocument(java.lang.String)"
|
|
fullName: "com.azure.search.SearchIndexAsyncClient.getDocument(String key)"
|
|
name: "getDocument(String key)"
|
|
nameWithType: "SearchIndexAsyncClient.getDocument(String key)"
|
|
summary: "Retrieves a document from the Azure Cognitive Search index."
|
|
parameters:
|
|
- description: "The key of the document to retrieve."
|
|
name: "key"
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
|
|
syntax: "public Mono<SearchDocument> getDocument(String key)"
|
|
desc: "Retrieves a document from the Azure Cognitive Search index.\n\nView [naming rules][] for guidelines on constructing valid document keys.\n\n\n[naming rules]: https://docs.microsoft.com/rest/api/searchservice/Naming-rules"
|
|
returns:
|
|
description: "the document object"
|
|
type: "<a href=\"https://projectreactor.io/docs/core/release/api/reactor/core/publisher/Mono.html\">Mono</a><<xref href=\"com.azure.search.SearchDocument?alt=com.azure.search.SearchDocument&text=SearchDocument\" data-throw-if-not-resolved=\"False\" />>"
|
|
- uid: "com.azure.search.SearchIndexAsyncClient.getDocumentCount()"
|
|
fullName: "com.azure.search.SearchIndexAsyncClient.getDocumentCount()"
|
|
name: "getDocumentCount()"
|
|
nameWithType: "SearchIndexAsyncClient.getDocumentCount()"
|
|
summary: "Queries the number of documents in the search index."
|
|
syntax: "public Mono<Long> getDocumentCount()"
|
|
desc: "Queries the number of documents in the search index."
|
|
returns:
|
|
description: "the number of documents."
|
|
type: "<a href=\"https://projectreactor.io/docs/core/release/api/reactor/core/publisher/Mono.html\">Mono</a><<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Long.html\">Long</a>>"
|
|
- uid: "com.azure.search.SearchIndexAsyncClient.getDocumentCountWithResponse()"
|
|
fullName: "com.azure.search.SearchIndexAsyncClient.getDocumentCountWithResponse()"
|
|
name: "getDocumentCountWithResponse()"
|
|
nameWithType: "SearchIndexAsyncClient.getDocumentCountWithResponse()"
|
|
summary: "Queries the number of documents in the search index."
|
|
syntax: "public Mono<Response<Long>> getDocumentCountWithResponse()"
|
|
desc: "Queries the number of documents in the search index."
|
|
returns:
|
|
description: "response containing the number of documents."
|
|
type: "<a href=\"https://projectreactor.io/docs/core/release/api/reactor/core/publisher/Mono.html\">Mono</a><<xref href=\"com.azure.core.http.rest.Response?alt=com.azure.core.http.rest.Response&text=Response\" data-throw-if-not-resolved=\"False\" /><<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Long.html\">Long</a>>>"
|
|
- uid: "com.azure.search.SearchIndexAsyncClient.getDocumentWithResponse(java.lang.String,java.util.List<java.lang.String>,com.azure.search.models.RequestOptions)"
|
|
fullName: "com.azure.search.SearchIndexAsyncClient.getDocumentWithResponse(String key, List<String> selectedFields, RequestOptions requestOptions)"
|
|
name: "getDocumentWithResponse(String key, List<String> selectedFields, RequestOptions requestOptions)"
|
|
nameWithType: "SearchIndexAsyncClient.getDocumentWithResponse(String key, List<String> selectedFields, RequestOptions requestOptions)"
|
|
summary: "Retrieves a document from the Azure Cognitive Search index."
|
|
parameters:
|
|
- description: "The key of the document to retrieve."
|
|
name: "key"
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
|
|
- description: "List of field names to retrieve for the document; Any field not retrieved will have null or\n default as its corresponding property value in the returned object."
|
|
name: "selectedFields"
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/util/List.html\">List</a><<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>>"
|
|
- description: "additional parameters for the operation. Contains the tracking ID sent with the request to\n help with debugging"
|
|
name: "requestOptions"
|
|
type: "<xref href=\"com.azure.search.models.RequestOptions?alt=com.azure.search.models.RequestOptions&text=RequestOptions\" data-throw-if-not-resolved=\"False\" />"
|
|
syntax: "public Mono<Response<SearchDocument>> getDocumentWithResponse(String key, List<String> selectedFields, RequestOptions requestOptions)"
|
|
desc: "Retrieves a document from the Azure Cognitive Search index.\n\nView [naming rules][] for guidelines on constructing valid document keys.\n\n\n[naming rules]: https://docs.microsoft.com/rest/api/searchservice/Naming-rules"
|
|
returns:
|
|
description: "a response containing the document object"
|
|
type: "<a href=\"https://projectreactor.io/docs/core/release/api/reactor/core/publisher/Mono.html\">Mono</a><<xref href=\"com.azure.core.http.rest.Response?alt=com.azure.core.http.rest.Response&text=Response\" data-throw-if-not-resolved=\"False\" /><<xref href=\"com.azure.search.SearchDocument?alt=com.azure.search.SearchDocument&text=SearchDocument\" data-throw-if-not-resolved=\"False\" />>>"
|
|
- uid: "com.azure.search.SearchIndexAsyncClient.getEndpoint()"
|
|
fullName: "com.azure.search.SearchIndexAsyncClient.getEndpoint()"
|
|
name: "getEndpoint()"
|
|
nameWithType: "SearchIndexAsyncClient.getEndpoint()"
|
|
summary: "Gets the endpoint for the Azure Cognitive Search service."
|
|
syntax: "public String getEndpoint()"
|
|
desc: "Gets the endpoint for the Azure Cognitive Search service."
|
|
returns:
|
|
description: "the endpoint value."
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
|
|
- uid: "com.azure.search.SearchIndexAsyncClient.getIndexName()"
|
|
fullName: "com.azure.search.SearchIndexAsyncClient.getIndexName()"
|
|
name: "getIndexName()"
|
|
nameWithType: "SearchIndexAsyncClient.getIndexName()"
|
|
summary: "Gets the name of the Azure Cognitive Search index."
|
|
syntax: "public String getIndexName()"
|
|
desc: "Gets the name of the Azure Cognitive Search index."
|
|
returns:
|
|
description: "the indexName value."
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
|
|
- uid: "com.azure.search.SearchIndexAsyncClient.getServiceVersion()"
|
|
fullName: "com.azure.search.SearchIndexAsyncClient.getServiceVersion()"
|
|
name: "getServiceVersion()"
|
|
nameWithType: "SearchIndexAsyncClient.getServiceVersion()"
|
|
summary: "Gets the version of the Search service the client is using."
|
|
syntax: "public SearchServiceVersion getServiceVersion()"
|
|
desc: "Gets the version of the Search service the client is using."
|
|
returns:
|
|
description: "The version of the Search service the client is using."
|
|
type: "<xref href=\"com.azure.search.SearchServiceVersion?alt=com.azure.search.SearchServiceVersion&text=SearchServiceVersion\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.azure.search.SearchIndexAsyncClient.indexDocuments(com.azure.search.models.IndexDocumentsBatch<?>)"
|
|
fullName: "com.azure.search.SearchIndexAsyncClient.indexDocuments(IndexDocumentsBatch<?> batch)"
|
|
name: "indexDocuments(IndexDocumentsBatch<?> batch)"
|
|
nameWithType: "SearchIndexAsyncClient.indexDocuments(IndexDocumentsBatch<?> batch)"
|
|
summary: "Sends a batch of upload, merge, and/or delete actions to the search index."
|
|
parameters:
|
|
- description: "The batch of index actions"
|
|
name: "batch"
|
|
type: "<xref href=\"com.azure.search.models.IndexDocumentsBatch?alt=com.azure.search.models.IndexDocumentsBatch&text=IndexDocumentsBatch\" data-throw-if-not-resolved=\"False\" /><?>"
|
|
syntax: "public Mono<IndexDocumentsResult> indexDocuments(IndexDocumentsBatch<?> batch)"
|
|
desc: "Sends a batch of upload, merge, and/or delete actions to the search index."
|
|
returns:
|
|
description: "Response containing the status of operations for all actions in the batch."
|
|
type: "<a href=\"https://projectreactor.io/docs/core/release/api/reactor/core/publisher/Mono.html\">Mono</a><<xref href=\"com.azure.search.models.IndexDocumentsResult?alt=com.azure.search.models.IndexDocumentsResult&text=IndexDocumentsResult\" data-throw-if-not-resolved=\"False\" />>"
|
|
- uid: "com.azure.search.SearchIndexAsyncClient.indexDocumentsWithResponse(com.azure.search.models.IndexDocumentsBatch<?>)"
|
|
fullName: "com.azure.search.SearchIndexAsyncClient.indexDocumentsWithResponse(IndexDocumentsBatch<?> batch)"
|
|
name: "indexDocumentsWithResponse(IndexDocumentsBatch<?> batch)"
|
|
nameWithType: "SearchIndexAsyncClient.indexDocumentsWithResponse(IndexDocumentsBatch<?> batch)"
|
|
summary: "Sends a batch of upload, merge, and/or delete actions to the search index."
|
|
parameters:
|
|
- description: "The batch of index actions"
|
|
name: "batch"
|
|
type: "<xref href=\"com.azure.search.models.IndexDocumentsBatch?alt=com.azure.search.models.IndexDocumentsBatch&text=IndexDocumentsBatch\" data-throw-if-not-resolved=\"False\" /><?>"
|
|
syntax: "public Mono<Response<IndexDocumentsResult>> indexDocumentsWithResponse(IndexDocumentsBatch<?> batch)"
|
|
desc: "Sends a batch of upload, merge, and/or delete actions to the search index."
|
|
returns:
|
|
description: "Response containing the status of operations for all actions in the batch"
|
|
type: "<a href=\"https://projectreactor.io/docs/core/release/api/reactor/core/publisher/Mono.html\">Mono</a><<xref href=\"com.azure.core.http.rest.Response?alt=com.azure.core.http.rest.Response&text=Response\" data-throw-if-not-resolved=\"False\" /><<xref href=\"com.azure.search.models.IndexDocumentsResult?alt=com.azure.search.models.IndexDocumentsResult&text=IndexDocumentsResult\" data-throw-if-not-resolved=\"False\" />>>"
|
|
- uid: "com.azure.search.SearchIndexAsyncClient.mergeDocuments(java.lang.Iterable<?>)"
|
|
fullName: "com.azure.search.SearchIndexAsyncClient.mergeDocuments(Iterable<?> documents)"
|
|
name: "mergeDocuments(Iterable<?> documents)"
|
|
nameWithType: "SearchIndexAsyncClient.mergeDocuments(Iterable<?> documents)"
|
|
summary: "Merges a collection of documents with existing documents in the target index."
|
|
parameters:
|
|
- description: "collection of documents to be merged"
|
|
name: "documents"
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Iterable.html\">Iterable</a><?>"
|
|
syntax: "public Mono<IndexDocumentsResult> mergeDocuments(Iterable<?> documents)"
|
|
desc: "Merges a collection of documents with existing documents in the target index.\n\nIf the type of the document contains non-nullable primitive-typed properties, these properties may not merge correctly. If you do not set such a property, it will automatically take its default value (for example, `0` for `int` or `false` for `boolean`), which will override the value of the property currently stored in the index, even if this was not your intent. For this reason, it is strongly recommended that you always declare primitive-typed properties with their class equivalents (for example, an integer property should be of type `Integer` instead of `int`)."
|
|
returns:
|
|
description: "document index result"
|
|
type: "<a href=\"https://projectreactor.io/docs/core/release/api/reactor/core/publisher/Mono.html\">Mono</a><<xref href=\"com.azure.search.models.IndexDocumentsResult?alt=com.azure.search.models.IndexDocumentsResult&text=IndexDocumentsResult\" data-throw-if-not-resolved=\"False\" />>"
|
|
- uid: "com.azure.search.SearchIndexAsyncClient.mergeDocumentsWithResponse(java.lang.Iterable<?>)"
|
|
fullName: "com.azure.search.SearchIndexAsyncClient.mergeDocumentsWithResponse(Iterable<?> documents)"
|
|
name: "mergeDocumentsWithResponse(Iterable<?> documents)"
|
|
nameWithType: "SearchIndexAsyncClient.mergeDocumentsWithResponse(Iterable<?> documents)"
|
|
summary: "Merges a collection of documents with existing documents in the target index."
|
|
parameters:
|
|
- description: "collection of documents to be merged"
|
|
name: "documents"
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Iterable.html\">Iterable</a><?>"
|
|
syntax: "public Mono<Response<IndexDocumentsResult>> mergeDocumentsWithResponse(Iterable<?> documents)"
|
|
desc: "Merges a collection of documents with existing documents in the target index.\n\nIf the type of the document contains non-nullable primitive-typed properties, these properties may not merge correctly. If you do not set such a property, it will automatically take its default value (for example, `0` for `int` or `false` for `boolean`), which will override the value of the property currently stored in the index, even if this was not your intent. For this reason, it is strongly recommended that you always declare primitive-typed properties with their class equivalents (for example, an integer property should be of type `Integer` instead of `int`)."
|
|
returns:
|
|
description: "response containing the document index result."
|
|
type: "<a href=\"https://projectreactor.io/docs/core/release/api/reactor/core/publisher/Mono.html\">Mono</a><<xref href=\"com.azure.core.http.rest.Response?alt=com.azure.core.http.rest.Response&text=Response\" data-throw-if-not-resolved=\"False\" /><<xref href=\"com.azure.search.models.IndexDocumentsResult?alt=com.azure.search.models.IndexDocumentsResult&text=IndexDocumentsResult\" data-throw-if-not-resolved=\"False\" />>>"
|
|
- uid: "com.azure.search.SearchIndexAsyncClient.mergeOrUploadDocuments(java.lang.Iterable<?>)"
|
|
fullName: "com.azure.search.SearchIndexAsyncClient.mergeOrUploadDocuments(Iterable<?> documents)"
|
|
name: "mergeOrUploadDocuments(Iterable<?> documents)"
|
|
nameWithType: "SearchIndexAsyncClient.mergeOrUploadDocuments(Iterable<?> documents)"
|
|
summary: "This action behaves like merge if a document with the given key already exists in the index."
|
|
parameters:
|
|
- description: "collection of documents to be merged, if exists, otherwise uploaded"
|
|
name: "documents"
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Iterable.html\">Iterable</a><?>"
|
|
syntax: "public Mono<IndexDocumentsResult> mergeOrUploadDocuments(Iterable<?> documents)"
|
|
desc: "This action behaves like merge if a document with the given key already exists in the index. If the document does not exist, it behaves like upload with a new document.\n\nIf the type of the document contains non-nullable primitive-typed properties, these properties may not merge correctly. If you do not set such a property, it will automatically take its default value (for example, `0` for `int` or `false` for `boolean`), which will override the value of the property currently stored in the index, even if this was not your intent. For this reason, it is strongly recommended that you always declare primitive-typed properties with their class equivalents (for example, an integer property should be of type `Integer` instead of `int`)."
|
|
returns:
|
|
description: "document index result"
|
|
type: "<a href=\"https://projectreactor.io/docs/core/release/api/reactor/core/publisher/Mono.html\">Mono</a><<xref href=\"com.azure.search.models.IndexDocumentsResult?alt=com.azure.search.models.IndexDocumentsResult&text=IndexDocumentsResult\" data-throw-if-not-resolved=\"False\" />>"
|
|
- uid: "com.azure.search.SearchIndexAsyncClient.mergeOrUploadDocumentsWithResponse(java.lang.Iterable<?>)"
|
|
fullName: "com.azure.search.SearchIndexAsyncClient.mergeOrUploadDocumentsWithResponse(Iterable<?> documents)"
|
|
name: "mergeOrUploadDocumentsWithResponse(Iterable<?> documents)"
|
|
nameWithType: "SearchIndexAsyncClient.mergeOrUploadDocumentsWithResponse(Iterable<?> documents)"
|
|
summary: "This action behaves like merge if a document with the given key already exists in the index."
|
|
parameters:
|
|
- description: "collection of documents to be merged, if exists, otherwise uploaded"
|
|
name: "documents"
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Iterable.html\">Iterable</a><?>"
|
|
syntax: "public Mono<Response<IndexDocumentsResult>> mergeOrUploadDocumentsWithResponse(Iterable<?> documents)"
|
|
desc: "This action behaves like merge if a document with the given key already exists in the index. If the document does not exist, it behaves like upload with a new document.\n\nIf the type of the document contains non-nullable primitive-typed properties, these properties may not merge correctly. If you do not set such a property, it will automatically take its default value (for example, `0` for `int` or `false` for `boolean`), which will override the value of the property currently stored in the index, even if this was not your intent. For this reason, it is strongly recommended that you always declare primitive-typed properties with their class equivalents (for example, an integer property should be of type `Integer` instead of `int`)."
|
|
returns:
|
|
description: "document index result"
|
|
type: "<a href=\"https://projectreactor.io/docs/core/release/api/reactor/core/publisher/Mono.html\">Mono</a><<xref href=\"com.azure.core.http.rest.Response?alt=com.azure.core.http.rest.Response&text=Response\" data-throw-if-not-resolved=\"False\" /><<xref href=\"com.azure.search.models.IndexDocumentsResult?alt=com.azure.search.models.IndexDocumentsResult&text=IndexDocumentsResult\" data-throw-if-not-resolved=\"False\" />>>"
|
|
- uid: "com.azure.search.SearchIndexAsyncClient.search(java.lang.String)"
|
|
fullName: "com.azure.search.SearchIndexAsyncClient.search(String searchText)"
|
|
name: "search(String searchText)"
|
|
nameWithType: "SearchIndexAsyncClient.search(String searchText)"
|
|
summary: "Searches for documents in the Azure Cognitive Search index."
|
|
parameters:
|
|
- description: "A full-text search query expression."
|
|
name: "searchText"
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
|
|
syntax: "public SearchPagedFlux search(String searchText)"
|
|
desc: "Searches for documents in the Azure Cognitive Search index.\n\nIf `searchText` is set to `null` or `\"*\"` all documents will be matched, see [simple query syntax in Azure Search][] for more information about search query syntax.\n\n\n[simple query syntax in Azure Search]: https://docs.microsoft.com/rest/api/searchservice/Simple-query-syntax-in-Azure-Search"
|
|
returns:
|
|
description: "A <xref uid=\"com.azure.search.util.SearchPagedFlux\" data-throw-if-not-resolved=\"false\" data-raw-source=\"SearchPagedFlux\"></xref> that iterates over <xref uid=\"com.azure.search.models.SearchResult\" data-throw-if-not-resolved=\"false\" data-raw-source=\"SearchResult\"></xref> objects and provides access to the\n <xref uid=\"com.azure.search.util.SearchPagedResponse\" data-throw-if-not-resolved=\"false\" data-raw-source=\"SearchPagedResponse\"></xref> object for each page containing HTTP response and count, facet, and coverage\n information."
|
|
type: "<xref href=\"com.azure.search.util.SearchPagedFlux?alt=com.azure.search.util.SearchPagedFlux&text=SearchPagedFlux\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.azure.search.SearchIndexAsyncClient.search(java.lang.String,com.azure.search.models.SearchOptions,com.azure.search.models.RequestOptions)"
|
|
fullName: "com.azure.search.SearchIndexAsyncClient.search(String searchText, SearchOptions searchOptions, RequestOptions requestOptions)"
|
|
name: "search(String searchText, SearchOptions searchOptions, RequestOptions requestOptions)"
|
|
nameWithType: "SearchIndexAsyncClient.search(String searchText, SearchOptions searchOptions, RequestOptions requestOptions)"
|
|
summary: "Searches for documents in the Azure Cognitive Search index."
|
|
parameters:
|
|
- description: "A full-text search query expression."
|
|
name: "searchText"
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
|
|
- description: "Parameters to further refine the search query"
|
|
name: "searchOptions"
|
|
type: "<xref href=\"com.azure.search.models.SearchOptions?alt=com.azure.search.models.SearchOptions&text=SearchOptions\" data-throw-if-not-resolved=\"False\" />"
|
|
- description: "additional parameters for the operation. Contains the tracking ID sent with the request to\n help with debugging"
|
|
name: "requestOptions"
|
|
type: "<xref href=\"com.azure.search.models.RequestOptions?alt=com.azure.search.models.RequestOptions&text=RequestOptions\" data-throw-if-not-resolved=\"False\" />"
|
|
syntax: "public SearchPagedFlux search(String searchText, SearchOptions searchOptions, RequestOptions requestOptions)"
|
|
desc: "Searches for documents in the Azure Cognitive Search index.\n\nIf `searchText` is set to `null` or `\"*\"` all documents will be matched, see [simple query syntax in Azure Search][] for more information about search query syntax.\n\n\n[simple query syntax in Azure Search]: https://docs.microsoft.com/rest/api/searchservice/Simple-query-syntax-in-Azure-Search"
|
|
returns:
|
|
description: "A <xref uid=\"com.azure.search.util.SearchPagedFlux\" data-throw-if-not-resolved=\"false\" data-raw-source=\"SearchPagedFlux\"></xref> that iterates over <xref uid=\"com.azure.search.models.SearchResult\" data-throw-if-not-resolved=\"false\" data-raw-source=\"SearchResult\"></xref> objects and provides access to the\n <xref uid=\"com.azure.search.util.SearchPagedResponse\" data-throw-if-not-resolved=\"false\" data-raw-source=\"SearchPagedResponse\"></xref> object for each page containing HTTP response and count, facet, and coverage\n information."
|
|
type: "<xref href=\"com.azure.search.util.SearchPagedFlux?alt=com.azure.search.util.SearchPagedFlux&text=SearchPagedFlux\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.azure.search.SearchIndexAsyncClient.suggest(java.lang.String,java.lang.String)"
|
|
fullName: "com.azure.search.SearchIndexAsyncClient.suggest(String searchText, String suggesterName)"
|
|
name: "suggest(String searchText, String suggesterName)"
|
|
nameWithType: "SearchIndexAsyncClient.suggest(String searchText, String suggesterName)"
|
|
summary: "Suggests documents in the index that match the given partial query."
|
|
parameters:
|
|
- description: "The search text on which to base suggestions"
|
|
name: "searchText"
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
|
|
- description: "The name of the suggester as specified in the suggesters collection that's part of the index\n definition"
|
|
name: "suggesterName"
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
|
|
syntax: "public SuggestPagedFlux suggest(String searchText, String suggesterName)"
|
|
desc: "Suggests documents in the index that match the given partial query."
|
|
returns:
|
|
description: "A <xref uid=\"com.azure.search.util.SuggestPagedFlux\" data-throw-if-not-resolved=\"false\" data-raw-source=\"SuggestPagedFlux\"></xref> that iterates over <xref uid=\"com.azure.search.models.SuggestResult\" data-throw-if-not-resolved=\"false\" data-raw-source=\"SuggestResult\"></xref> objects and provides access to the\n <xref uid=\"com.azure.search.util.SuggestPagedResponse\" data-throw-if-not-resolved=\"false\" data-raw-source=\"SuggestPagedResponse\"></xref> object for each page containing HTTP response and coverage information."
|
|
type: "<xref href=\"com.azure.search.util.SuggestPagedFlux?alt=com.azure.search.util.SuggestPagedFlux&text=SuggestPagedFlux\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.azure.search.SearchIndexAsyncClient.suggest(java.lang.String,java.lang.String,com.azure.search.models.SuggestOptions,com.azure.search.models.RequestOptions)"
|
|
fullName: "com.azure.search.SearchIndexAsyncClient.suggest(String searchText, String suggesterName, SuggestOptions suggestOptions, RequestOptions requestOptions)"
|
|
name: "suggest(String searchText, String suggesterName, SuggestOptions suggestOptions, RequestOptions requestOptions)"
|
|
nameWithType: "SearchIndexAsyncClient.suggest(String searchText, String suggesterName, SuggestOptions suggestOptions, RequestOptions requestOptions)"
|
|
summary: "Suggests documents in the index that match the given partial query."
|
|
parameters:
|
|
- description: "The search text on which to base suggestions"
|
|
name: "searchText"
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
|
|
- description: "The name of the suggester as specified in the suggesters collection that's part of the index\n definition"
|
|
name: "suggesterName"
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
|
|
- description: "Parameters to further refine the suggestion query."
|
|
name: "suggestOptions"
|
|
type: "<xref href=\"com.azure.search.models.SuggestOptions?alt=com.azure.search.models.SuggestOptions&text=SuggestOptions\" data-throw-if-not-resolved=\"False\" />"
|
|
- description: "additional parameters for the operation. Contains the tracking ID sent with the request to\n help with debugging"
|
|
name: "requestOptions"
|
|
type: "<xref href=\"com.azure.search.models.RequestOptions?alt=com.azure.search.models.RequestOptions&text=RequestOptions\" data-throw-if-not-resolved=\"False\" />"
|
|
syntax: "public SuggestPagedFlux suggest(String searchText, String suggesterName, SuggestOptions suggestOptions, RequestOptions requestOptions)"
|
|
desc: "Suggests documents in the index that match the given partial query."
|
|
returns:
|
|
description: "A <xref uid=\"com.azure.search.util.SuggestPagedFlux\" data-throw-if-not-resolved=\"false\" data-raw-source=\"SuggestPagedFlux\"></xref> that iterates over <xref uid=\"com.azure.search.models.SuggestResult\" data-throw-if-not-resolved=\"false\" data-raw-source=\"SuggestResult\"></xref> objects and provides access to the\n <xref uid=\"com.azure.search.util.SuggestPagedResponse\" data-throw-if-not-resolved=\"false\" data-raw-source=\"SuggestPagedResponse\"></xref> object for each page containing HTTP response and coverage information."
|
|
type: "<xref href=\"com.azure.search.util.SuggestPagedFlux?alt=com.azure.search.util.SuggestPagedFlux&text=SuggestPagedFlux\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.azure.search.SearchIndexAsyncClient.uploadDocuments(java.lang.Iterable<?>)"
|
|
fullName: "com.azure.search.SearchIndexAsyncClient.uploadDocuments(Iterable<?> documents)"
|
|
name: "uploadDocuments(Iterable<?> documents)"
|
|
nameWithType: "SearchIndexAsyncClient.uploadDocuments(Iterable<?> documents)"
|
|
summary: "Uploads a collection of documents to the target index."
|
|
parameters:
|
|
- description: "collection of documents to upload to the target Index."
|
|
name: "documents"
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Iterable.html\">Iterable</a><?>"
|
|
syntax: "public Mono<IndexDocumentsResult> uploadDocuments(Iterable<?> documents)"
|
|
desc: "Uploads a collection of documents to the target index."
|
|
returns:
|
|
description: "The result of the document indexing actions."
|
|
type: "<a href=\"https://projectreactor.io/docs/core/release/api/reactor/core/publisher/Mono.html\">Mono</a><<xref href=\"com.azure.search.models.IndexDocumentsResult?alt=com.azure.search.models.IndexDocumentsResult&text=IndexDocumentsResult\" data-throw-if-not-resolved=\"False\" />>"
|
|
- uid: "com.azure.search.SearchIndexAsyncClient.uploadDocumentsWithResponse(java.lang.Iterable<?>)"
|
|
fullName: "com.azure.search.SearchIndexAsyncClient.uploadDocumentsWithResponse(Iterable<?> documents)"
|
|
name: "uploadDocumentsWithResponse(Iterable<?> documents)"
|
|
nameWithType: "SearchIndexAsyncClient.uploadDocumentsWithResponse(Iterable<?> documents)"
|
|
summary: "Uploads a collection of documents to the target index."
|
|
parameters:
|
|
- description: "collection of documents to upload to the target Index."
|
|
name: "documents"
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Iterable.html\">Iterable</a><?>"
|
|
syntax: "public Mono<Response<IndexDocumentsResult>> uploadDocumentsWithResponse(Iterable<?> documents)"
|
|
desc: "Uploads a collection of documents to the target index."
|
|
returns:
|
|
description: "A response containing the result of the document indexing actions."
|
|
type: "<a href=\"https://projectreactor.io/docs/core/release/api/reactor/core/publisher/Mono.html\">Mono</a><<xref href=\"com.azure.core.http.rest.Response?alt=com.azure.core.http.rest.Response&text=Response\" data-throw-if-not-resolved=\"False\" /><<xref href=\"com.azure.search.models.IndexDocumentsResult?alt=com.azure.search.models.IndexDocumentsResult&text=IndexDocumentsResult\" data-throw-if-not-resolved=\"False\" />>>"
|
|
type: "class"
|
|
desc: "Cognitive Search Asynchronous Client to query an index and upload, merge, or delete documents"
|
|
metadata: {}
|
|
package: "com.azure.search"
|
|
artifact: com.azure:azure-search:11.0.0-beta.1
|