Package io.jmix.search
Class SearchProperties.Elasticsearch
java.lang.Object
io.jmix.search.SearchProperties.Elasticsearch
- Enclosing class:
 - SearchProperties
 
- 
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final org.elasticsearch.action.support.WriteRequest.RefreshPolicyRefresh policy that should be used with bulk requests to Elasticsearch: NONE (default), WAIT_UNTIL, IMMEDIATEprotected final StringElasticsearch login for common base authentication.protected final StringElasticsearch password for common base authentication.protected final SearchProperties.SSLprotected final StringElasticsearch URL. - 
Constructor Summary
ConstructorsConstructorDescriptionElasticsearch(String url, String login, String password, SearchProperties.SSL ssl, String bulkRequestRefreshPolicy)  - 
Method Summary
Modifier and TypeMethodDescriptionprotected org.elasticsearch.action.support.WriteRequest.RefreshPolicyresolveRefreshPolicy(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)  
 -