public class SearchSettingsElasticSearch
extends com.ibm.cloud.sdk.core.service.model.GenericModel
Modifier and Type | Class and Description |
---|---|
static class |
SearchSettingsElasticSearch.Builder
Builder.
|
Modifier and Type | Method and Description |
---|---|
String |
apikey()
Gets the apikey.
|
List<Object> |
filter()
Gets the filter.
|
String |
index()
Gets the index.
|
String |
managedIndex()
Gets the managedIndex.
|
SearchSettingsElasticSearch.Builder |
newBuilder()
New builder.
|
String |
password()
Gets the password.
|
String |
port()
Gets the port.
|
Map<String,Object> |
queryBody()
Gets the queryBody.
|
String |
url()
Gets the url.
|
String |
username()
Gets the username.
|
public SearchSettingsElasticSearch.Builder newBuilder()
public String url()
The URL for the Elasticsearch service.
public String port()
The port number for the Elasticsearch service URL.
**Note:** It can be omitted if a port number is appended to the URL.
public String username()
The username of the basic authentication method.
public String password()
The password of the basic authentication method. The credentials are not returned due to security reasons.
public String index()
The Elasticsearch index to use for the search integration.
public List<Object> filter()
An array of filters that can be applied to the search results via the `$FILTER` variable in the `query_body`.For more information, see [Elasticsearch filter documentation](https://www.elastic.co/guide/en/elasticsearch/reference/current/filter-search-results.html).
public Map<String,Object> queryBody()
The Elasticsearch query object. For more information, see [Elasticsearch search API documentation](https://www.elastic.co/guide/en/elasticsearch/reference/current/search-search.html).
public String managedIndex()
The Elasticsearch index for uploading documents. It is created automatically when the upload document option is selected from the user interface.
public String apikey()
The API key of the apiKey authentication method. Use either basic auth or apiKey auth. The credentials are not returned due to security reasons.
Copyright © 2024 IBM Cloud. All rights reserved.