public interface ElasticFacade
A facade for ElasticSearch operations. Designed for ElasticSearch 7.0 and later with the one doc type per index constraint. See https://www.elastic.co/guide/en/elasticsearch/reference/current/removal-of-types.html
Modifiers | Name | Description |
---|---|---|
interface |
ElasticFacade.ElasticClient |
Type Params | Return Type | Name and description |
---|---|---|
|
public ElasticFacade.ElasticClient |
getClient(java.lang.String clusterName) Get a client for named cluster configured in Moqui Conf XML elastic-facade.cluster |
|
public java.util.List<ElasticClient> |
getClientList() |
|
public ElasticFacade.ElasticClient |
getDefault() Get a client for the 'default' cluster, same as calling getClient("default") |
Get a client for named cluster configured in Moqui Conf XML elastic-facade.cluster
Get a client for the 'default' cluster, same as calling getClient("default")