Package io.jmix.search
Class SearchProperties.Elasticsearch
java.lang.Object
io.jmix.search.SearchProperties.Elasticsearch
- Enclosing class:
- SearchProperties
-
Field Summary
Modifier and TypeFieldDescriptionprotected final org.elasticsearch.action.support.WriteRequest.RefreshPolicy
Refresh policy that should be used with bulk requests to Elasticsearch: NONE (default), WAIT_UNTIL, IMMEDIATEprotected final String
Elasticsearch login for common base authentication.protected final String
Elasticsearch password for common base authentication.protected final SearchProperties.SSL
protected final String
Elasticsearch URL. -
Constructor Summary
ConstructorDescriptionElasticsearch
(String url, String login, String password, SearchProperties.SSL ssl, String bulkRequestRefreshPolicy) -
Method Summary
Modifier and TypeMethodDescriptionprotected org.elasticsearch.action.support.WriteRequest.RefreshPolicy
resolveRefreshPolicy
(String propertyValue)
-
Field Details
-
url
Elasticsearch URL. -
login
Elasticsearch login for common base authentication. -
password
Elasticsearch password for common base authentication. -
ssl
-
bulkRequestRefreshPolicy
protected final org.elasticsearch.action.support.WriteRequest.RefreshPolicy bulkRequestRefreshPolicyRefresh policy that should be used with bulk requests to Elasticsearch: NONE (default), WAIT_UNTIL, IMMEDIATE
-
-
Constructor Details
-
Elasticsearch
public Elasticsearch(@DefaultValue("localhost:9200") String url, String login, String password, @DefaultValue SearchProperties.SSL ssl, @DefaultValue("NONE") String bulkRequestRefreshPolicy)
-
-
Method Details
-
resolveRefreshPolicy
protected org.elasticsearch.action.support.WriteRequest.RefreshPolicy resolveRefreshPolicy(String propertyValue)
-