SearchSuggestionSpec.Builder.AddFilterDocumentIds Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
| Name | Description |
|---|---|
| AddFilterDocumentIds(String, ICollection<String>) |
Adds a document ID filter to SearchSuggestionSpec Entry. |
| AddFilterDocumentIds(String, String[]) |
Adds a document ID filter to SearchSuggestionSpec Entry. |
AddFilterDocumentIds(String, ICollection<String>)
Adds a document ID filter to SearchSuggestionSpec Entry.
[Android.Runtime.Register("addFilterDocumentIds", "(Ljava/lang/String;Ljava/util/Collection;)Landroid/app/appsearch/SearchSuggestionSpec$Builder;", "", ApiSince=34)]
public Android.App.AppSearch.SearchSuggestionSpec.Builder AddFilterDocumentIds(string namespace, System.Collections.Generic.ICollection<string> documentIds);
[<Android.Runtime.Register("addFilterDocumentIds", "(Ljava/lang/String;Ljava/util/Collection;)Landroid/app/appsearch/SearchSuggestionSpec$Builder;", "", ApiSince=34)>]
member this.AddFilterDocumentIds : string * System.Collections.Generic.ICollection<string> -> Android.App.AppSearch.SearchSuggestionSpec.Builder
Parameters
- namespace
- String
- documentIds
- ICollection<String>
Returns
- Attributes
Remarks
Adds a document ID filter to SearchSuggestionSpec Entry. Only search for suggestions in the given specified documents. If unset, the query will search over all documents.
Android reference for android.app.appsearch.SearchSuggestionSpec.Builder.addFilterDocumentIds.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.
Applies to
AddFilterDocumentIds(String, String[])
Adds a document ID filter to SearchSuggestionSpec Entry.
[Android.Runtime.Register("addFilterDocumentIds", "(Ljava/lang/String;[Ljava/lang/String;)Landroid/app/appsearch/SearchSuggestionSpec$Builder;", "", ApiSince=34)]
public Android.App.AppSearch.SearchSuggestionSpec.Builder AddFilterDocumentIds(string namespace, params string[] documentIds);
[<Android.Runtime.Register("addFilterDocumentIds", "(Ljava/lang/String;[Ljava/lang/String;)Landroid/app/appsearch/SearchSuggestionSpec$Builder;", "", ApiSince=34)>]
member this.AddFilterDocumentIds : string * string[] -> Android.App.AppSearch.SearchSuggestionSpec.Builder
Parameters
- namespace
- String
- documentIds
- String[]
Returns
- Attributes
Remarks
Adds a document ID filter to SearchSuggestionSpec Entry. Only search for suggestions in the given specified documents. If unset, the query will search over all documents.
Android reference for android.app.appsearch.SearchSuggestionSpec.Builder.addFilterDocumentIds.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.