org.qi4j.index.elasticsearch
Interface ElasticSearchClusterConfiguration

All Superinterfaces:
Composite, ConfigurationComposite, ElasticSearchConfiguration, EntityComposite, Identity

public interface ElasticSearchClusterConfiguration
extends ElasticSearchConfiguration


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.qi4j.api.entity.Identity
Identity.IdentityMixin
 
Method Summary
 Property<java.lang.Boolean> clusterSniff()
          Allows client to sniff the rest of the cluster, and add those into its list of machines to use.
 Property<java.lang.Boolean> ignoreClusterName()
          Set to true to ignore cluster name validation of connected nodes.
 Property<java.lang.String> nodes()
          Coma separated list of nodes host:port.
 Property<java.lang.String> pingTimeout()
          The time to wait for a ping response from a node.
 Property<java.lang.String> samplerInterval()
          How often to sample / ping the nodes listed and connected.
 
Methods inherited from interface org.qi4j.index.elasticsearch.ElasticSearchConfiguration
clusterName, index, indexNonAggregatedAssociations
 
Methods inherited from interface org.qi4j.api.entity.Identity
identity
 

Method Detail

nodes

@Optional
Property<java.lang.String> nodes()
Coma separated list of nodes host:port. Defaults to '127.0.0.1:9300'.


clusterSniff

@UseDefaults
Property<java.lang.Boolean> clusterSniff()
Allows client to sniff the rest of the cluster, and add those into its list of machines to use. In this case, note that the ip addresses used will be the ones that the other nodes were started with (the “publish” address). Defaults to FALSE.


ignoreClusterName

@UseDefaults
Property<java.lang.Boolean> ignoreClusterName()
Set to true to ignore cluster name validation of connected nodes. Defaults to FALSE.


pingTimeout

@Optional
Property<java.lang.String> pingTimeout()
The time to wait for a ping response from a node. Defaults to 5s.


samplerInterval

@Optional
Property<java.lang.String> samplerInterval()
How often to sample / ping the nodes listed and connected. Defaults to 5s.