public class GetAutocompletionOptions
extends com.ibm.cloud.sdk.core.service.model.GenericModel
Modifier and Type | Class and Description |
---|---|
static class |
GetAutocompletionOptions.Builder
Builder.
|
Modifier and Type | Method and Description |
---|---|
List<String> |
collectionIds()
Gets the collectionIds.
|
Long |
count()
Gets the count.
|
String |
field()
Gets the field.
|
GetAutocompletionOptions.Builder |
newBuilder()
New builder.
|
String |
prefix()
Gets the prefix.
|
String |
projectId()
Gets the projectId.
|
public GetAutocompletionOptions.Builder newBuilder()
public String projectId()
The ID of the project. This information can be found from the *Integrate and Deploy* page in Discovery.
public String prefix()
The prefix to use for autocompletion. For example, the prefix `Ho` could autocomplete to `hot`, `housing`, or `how`.
public List<String> collectionIds()
Comma separated list of the collection IDs. If this parameter is not specified, all collections in the project are used.
public String field()
The field in the result documents that autocompletion suggestions are identified from.
public Long count()
The number of autocompletion suggestions to return.
Copyright © 2024 IBM Cloud. All rights reserved.