Skip to content

Commit

Permalink
HSEARCH-3934 Add index property SCHEMA_MANAGEMENT_SETTINGS_FILE
Browse files Browse the repository at this point in the history
  • Loading branch information
fax4ever authored and yrodiere committed Jan 22, 2021
1 parent 8e05849 commit d18cd15
Showing 1 changed file with 12 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,18 @@ private ElasticsearchIndexSettings() {
*/
public static final String SCHEMA_MANAGEMENT_MINIMAL_REQUIRED_STATUS_WAIT_TIMEOUT = "schema_management.minimal_required_status_wait_timeout";

/**
* Allows the user to provide a custom index settings, instead of having it generated by Hibernate Search.
* The value of the property must be a valid path to the file containing the custom settings.
* The file must contain the index setting expressed in JSON format, as expected by the Elasticsearch server.
* <p>
* Note that the settings generated by Hibernate Search won't be applied.
* This means for instance that any analyzer defined by the {@link #ANALYSIS_CONFIGURER} will be ignored.
* <p>
* Defaults to no value. Because by default index settings are generated by Hibernate Search.
*/
public static final String SCHEMA_MANAGEMENT_SETTINGS_FILE = "schema_management.settings_file";

/**
* The prefix for indexing-related property keys.
*/
Expand Down

0 comments on commit d18cd15

Please sign in to comment.