Class ElasticsearchBackendSettings.Defaults
- java.lang.Object
-
- org.hibernate.search.backend.elasticsearch.cfg.ElasticsearchBackendSettings.Defaults
-
- Enclosing class:
- ElasticsearchBackendSettings
public static final class ElasticsearchBackendSettings.Defaults extends Object
Default values for the different settings if no values are given.
-
-
Field Summary
Fields Modifier and Type Field Description static int
CONNECTION_TIMEOUT
static boolean
DISCOVERY_ENABLED
static int
DISCOVERY_REFRESH_INTERVAL
static List<String>
HOSTS
static BeanReference<IndexLayoutStrategy>
LAYOUT_STRATEGY
static boolean
LOG_JSON_PRETTY_PRINTING
static TypeNameMappingStrategyName
MAPPING_TYPE_NAME_STRATEGY
static int
MAX_CONNECTIONS
static int
MAX_CONNECTIONS_PER_ROUTE
static MultiTenancyStrategyName
MULTI_TENANCY_STRATEGY
Deprecated.The default for this property is now dynamic and depends on the mapper.static String
PATH_PREFIX
static String
PROTOCOL
static int
READ_TIMEOUT
static int
SCROLL_TIMEOUT
static boolean
VERSION_CHECK_ENABLED
-
-
-
Field Detail
-
PROTOCOL
public static final String PROTOCOL
- See Also:
- Constant Field Values
-
PATH_PREFIX
public static final String PATH_PREFIX
- See Also:
- Constant Field Values
-
READ_TIMEOUT
public static final int READ_TIMEOUT
- See Also:
- Constant Field Values
-
CONNECTION_TIMEOUT
public static final int CONNECTION_TIMEOUT
- See Also:
- Constant Field Values
-
MAX_CONNECTIONS
public static final int MAX_CONNECTIONS
- See Also:
- Constant Field Values
-
MAX_CONNECTIONS_PER_ROUTE
public static final int MAX_CONNECTIONS_PER_ROUTE
- See Also:
- Constant Field Values
-
DISCOVERY_ENABLED
public static final boolean DISCOVERY_ENABLED
- See Also:
- Constant Field Values
-
DISCOVERY_REFRESH_INTERVAL
public static final int DISCOVERY_REFRESH_INTERVAL
- See Also:
- Constant Field Values
-
LOG_JSON_PRETTY_PRINTING
public static final boolean LOG_JSON_PRETTY_PRINTING
- See Also:
- Constant Field Values
-
VERSION_CHECK_ENABLED
public static final boolean VERSION_CHECK_ENABLED
- See Also:
- Constant Field Values
-
MULTI_TENANCY_STRATEGY
@Deprecated public static final MultiTenancyStrategyName MULTI_TENANCY_STRATEGY
Deprecated.The default for this property is now dynamic and depends on the mapper. If the multi-tenancy is enabled in the mapper, the default isMultiTenancyStrategyName.DISCRIMINATOR
. Otherwise, the default is stillMultiTenancyStrategyName.NONE
.
-
MAPPING_TYPE_NAME_STRATEGY
public static final TypeNameMappingStrategyName MAPPING_TYPE_NAME_STRATEGY
-
LAYOUT_STRATEGY
public static final BeanReference<IndexLayoutStrategy> LAYOUT_STRATEGY
-
SCROLL_TIMEOUT
public static final int SCROLL_TIMEOUT
- See Also:
- Constant Field Values
-
-