Interface HibernateSearchElasticsearchBuildTimeConfigPersistenceUnit.SchemaManagementConfig
-
- Enclosing interface:
- HibernateSearchElasticsearchBuildTimeConfigPersistenceUnit
public static interface HibernateSearchElasticsearchBuildTimeConfigPersistenceUnit.SchemaManagementConfig
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method 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.
-
-
-
Method Detail
-
settingsFile
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
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.
-
-