public final class IndexSettings extends Object
Constants in this class are to be appended to a prefix to form a property key.
The exact prefix will depend on the integration, but should generally look like
either "hibernate.search.backend.<backend name>.indexes.<index name>." (for per-index settings)
or "hibernate.search.backends.<backend name>.index_defaults." (for default index settings).
| Modifier and Type | Method and Description |
|---|---|
static String |
indexDefaultsKey(String backendName,
String radical)
Builds a configuration property key for the index defaults of the given backend, with the given radical.
|
static String |
indexKey(String backendName,
String indexName,
String radical)
Builds a configuration property key for the index of the given backend, with the given radical.
|
public static String indexDefaultsKey(String backendName, String radical)
See the javadoc of your backend for avalaible radicals.
Example result: "hibernate.search.backends.<backendName>.index_defaults.lifecycle.strategy"backendName - Expect the backendNameradical - The radical of the configuration property (see constants in
ElasticsearchIndexSettings, LuceneIndexSettings, etc.)public static String indexKey(String backendName, String indexName, String radical)
See the javadoc of your backend for avalaible radicals.
Example result: "hibernate.search.backends.<backendName>.indexes.<indexName>.lifecycle.strategy"backendName - Expect the backendNameindexName - Expect the specific targeted index nameradical - The radical of the configuration property (see constants in
ElasticsearchIndexSettings, LuceneIndexSettings, etc.)Copyright © 2006-2020 Red Hat, Inc. and others. Licensed under the GNU Lesser General Public License (LGPL), version 2.1 or later.