public final class LuceneBackendSettings extends Object
Constants in this class are to be appended to a prefix to form a property key;
see BackendSettings for details.
| Modifier and Type | Class and Description |
|---|---|
static class |
LuceneBackendSettings.Defaults
Default values for the different settings if no values are given.
|
| Modifier and Type | Field and Description |
|---|---|
static String |
ANALYSIS_CONFIGURER
The analysis configurer to use.
|
static String |
DIRECTORY_PROVIDER |
static String |
LUCENE_VERSION
The Lucene version to passed to analyzers when they are created.
|
static String |
MULTI_TENANCY_STRATEGY
The multi-tenancy strategy to use.
|
static String |
ROOT_DIRECTORY |
static String |
TYPE_NAME
The name to use for the
backend type
configuration property so that a Lucene backend is instantiated by Hibernate Search. |
public static final String TYPE_NAME
backend type
configuration property so that a Lucene backend is instantiated by Hibernate Search.public static final String LUCENE_VERSION
This should be set in order to get consistent behavior when Lucene is upgraded.
Expects a Version,
or a String accepted by Version.parseLeniently(java.lang.String)
Defaults to LuceneBackendSettings.Defaults.LUCENE_VERSION, which may change when Hibernate Search or Lucene is upgraded,
and therefore is really not a good choice. You really should set this property with your own value.
public static final String DIRECTORY_PROVIDER
public static final String ROOT_DIRECTORY
public static final String MULTI_TENANCY_STRATEGY
Expects a MultiTenancyStrategyName value, or a String representation of such value.
Defaults to LuceneBackendSettings.Defaults.MULTI_TENANCY_STRATEGY.
public static final String ANALYSIS_CONFIGURER
Expects a reference to a bean of type LuceneAnalysisConfigurer.
Defaults to no value.
Copyright © 2006-2019 Red Hat, Inc. and others. Licensed under the GNU Lesser General Public License (LGPL), version 2.1 or later.