Class ElasticsearchIndexSettings
- java.lang.Object
-
- org.hibernate.search.backend.elasticsearch.cfg.ElasticsearchIndexSettings
-
public final class ElasticsearchIndexSettings extends Object
Configuration properties for Elasticsearch indexes.Constants in this class are to be appended to a prefix to form a property key; see
IndexSettingsfor details.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classElasticsearchIndexSettings.DefaultsDefault values for the different settings if no values are given.static classElasticsearchIndexSettings.IndexingRadicalsConfiguration property keys for indexing, without theprefix.
-
Field Summary
Fields Modifier and Type Field Description static StringANALYSIS_CONFIGURERThe analysis configurer applied to this index.static StringDYNAMIC_MAPPINGSpecify the default behavior to handle dynamically-mapped fields in the Elasticsearch mapping.static StringINDEXING_MAX_BULK_SIZEThe maximum size of bulk requests created when processing indexing queues.static StringINDEXING_PREFIXThe prefix for indexing-related property keys.static StringINDEXING_QUEUE_COUNTThe number of indexing queues assigned to each index.static StringINDEXING_QUEUE_SIZEThe size of indexing queues.static StringSCHEMA_MANAGEMENT_MINIMAL_REQUIRED_STATUSThe minimal required status of an index on startup, before Hibernate Search can start using it.static StringSCHEMA_MANAGEMENT_MINIMAL_REQUIRED_STATUS_WAIT_TIMEOUTThe timeout when waiting for therequired status.
-
-
-
Field Detail
-
ANALYSIS_CONFIGURER
public static final String ANALYSIS_CONFIGURER
The analysis configurer applied to this index.Expects a reference to a bean of type
ElasticsearchAnalysisConfigurer.Defaults to no value.
-
SCHEMA_MANAGEMENT_MINIMAL_REQUIRED_STATUS
public static final String SCHEMA_MANAGEMENT_MINIMAL_REQUIRED_STATUS
The minimal required status of an index on startup, before Hibernate Search can start using it.Expects an
IndexStatusvalue, or a String representation of such value.Defaults to
ElasticsearchIndexSettings.Defaults.SCHEMA_MANAGEMENT_MINIMAL_REQUIRED_STATUS.- See Also:
- Constant Field Values
-
SCHEMA_MANAGEMENT_MINIMAL_REQUIRED_STATUS_WAIT_TIMEOUT
public static final String SCHEMA_MANAGEMENT_MINIMAL_REQUIRED_STATUS_WAIT_TIMEOUT
The timeout when waiting for therequired status.Expects a positive Integer value in milliseconds, such as
60000, or a String that can be parsed into such Integer value.Defaults to
ElasticsearchIndexSettings.Defaults.SCHEMA_MANAGEMENT_MINIMAL_REQUIRED_STATUS_WAIT_TIMEOUT.- See Also:
- Constant Field Values
-
INDEXING_PREFIX
public static final String INDEXING_PREFIX
The prefix for indexing-related property keys.- See Also:
- Constant Field Values
-
INDEXING_QUEUE_COUNT
public static final String INDEXING_QUEUE_COUNT
The number of indexing queues assigned to each index.Expects a strictly positive integer value, or a string that can be parsed to such integer value.
Defaults to
ElasticsearchIndexSettings.Defaults.INDEXING_QUEUE_COUNT.See the reference documentation, section "Elasticsearch backend - Indexing", for more information about this setting and its implications.
- See Also:
- Constant Field Values
-
INDEXING_QUEUE_SIZE
public static final String INDEXING_QUEUE_SIZE
The size of indexing queues.Expects a strictly positive integer value, or a string that can be parsed to such integer value.
Defaults to
ElasticsearchIndexSettings.Defaults.INDEXING_QUEUE_SIZE.See the reference documentation, section "Elasticsearch backend - Indexing", for more information about this setting and its implications.
- See Also:
- Constant Field Values
-
INDEXING_MAX_BULK_SIZE
public static final String INDEXING_MAX_BULK_SIZE
The maximum size of bulk requests created when processing indexing queues.Expects a strictly positive integer value, or a string that can be parsed to such integer value.
Defaults to
ElasticsearchIndexSettings.Defaults.INDEXING_MAX_BULK_SIZE.See the reference documentation, section "Elasticsearch backend - Indexing", for more information about this setting and its implications.
- See Also:
- Constant Field Values
-
DYNAMIC_MAPPING
public static final String DYNAMIC_MAPPING
Specify the default behavior to handle dynamically-mapped fields in the Elasticsearch mapping.Defaults to
ElasticsearchIndexSettings.Defaults.DYNAMIC_MAPPING.In case of dynamic fields with field templates, the value will be ignored, since this feature requires a
DynamicMapping.TRUEto operate.- See Also:
DynamicMapping, Constant Field Values
-
-