Class HibernateSearchElasticsearchBuildTimeConfigPersistenceUnit.SchemaManagementConfig
- java.lang.Object
-
- io.quarkus.hibernate.search.orm.elasticsearch.runtime.HibernateSearchElasticsearchBuildTimeConfigPersistenceUnit.SchemaManagementConfig
-
- Enclosing class:
- HibernateSearchElasticsearchBuildTimeConfigPersistenceUnit
public static class HibernateSearchElasticsearchBuildTimeConfigPersistenceUnit.SchemaManagementConfig extends Object
-
-
Field Summary
Fields Modifier and Type Field Description Optional<String>
mappingFile
Path to a file in the classpath holding a custom index mapping to be included in the index definition when creating an Elasticsearch index.Optional<String>
settingsFile
Path to a file in the classpath holding custom index settings to be included in the index definition when creating an Elasticsearch index.
-
Constructor Summary
Constructors Constructor Description SchemaManagementConfig()
-
-
-
Field Detail
-
settingsFile
@ConfigItem public Optional<String> settingsFile
Path to a file in the classpath holding custom index settings to be included in the index definition when creating an Elasticsearch index. The provided settings will be merged with those generated by Hibernate Search, including analyzer definitions. When analysis is configured both through an analysis configurer and these custom settings, the behavior is undefined; it should not be relied upon. See https://docs.jboss.org/hibernate/stable/search/reference/en-US/html_single/#backend-elasticsearch-configuration-index-settings[this section of the reference documentation] for more information.
-
mappingFile
@ConfigItem public Optional<String> mappingFile
Path to a file in the classpath holding a custom index mapping to be included in the index definition when creating an Elasticsearch index. The file does not need to (and generally shouldn't) contain the full mapping: Hibernate Search will automatically inject missing properties (index fields) in the given mapping. See https://docs.jboss.org/hibernate/stable/search/reference/en-US/html_single/#backend-elasticsearch-mapping-custom[this section of the reference documentation] for more information.
-
-