public class SearchMapping extends Object
Indexed etc. In case of conflicts the programmatic configuration for an
element takes precedence over the annotation-based configuration.
Users can select a SearchMapping implementation through the
configuration properties.
| Constructor and Description |
|---|
SearchMapping() |
| Modifier and Type | Method and Description |
|---|---|
AnalyzerDefMapping |
analyzerDef(String name,
Class<? extends org.apache.lucene.analysis.util.TokenizerFactory> tokenizerFactory)
Deprecated.
See
AnalyzerDef |
AnalyzerDefMapping |
analyzerDef(String name,
String tokenizerName,
Class<? extends org.apache.lucene.analysis.util.TokenizerFactory> tokenizerFactory)
Deprecated.
See
AnalyzerDef |
EntityMapping |
entity(Class<?> entityType) |
FullTextFilterDefMapping |
fullTextFilterDef(String name,
Class<?> impl) |
Set<Map<String,Object>> |
getAnalyzerDefs() |
EntityDescriptor |
getEntityDescriptor(Class<?> entityType) |
Set<Map<String,Object>> |
getFullTextFilterDefs() |
Set<Class<?>> |
getMappedEntities() |
Set<Map<String,Object>> |
getNormalizerDefs() |
NormalizerDefMapping |
normalizerDef(String name)
Deprecated.
See
AnalyzerDef |
public EntityDescriptor getEntityDescriptor(Class<?> entityType)
@Deprecated public AnalyzerDefMapping analyzerDef(String name, Class<? extends org.apache.lucene.analysis.util.TokenizerFactory> tokenizerFactory)
AnalyzerDef@Deprecated public AnalyzerDefMapping analyzerDef(String name, String tokenizerName, Class<? extends org.apache.lucene.analysis.util.TokenizerFactory> tokenizerFactory)
AnalyzerDef@Deprecated public NormalizerDefMapping normalizerDef(String name)
AnalyzerDefpublic EntityMapping entity(Class<?> entityType)
public FullTextFilterDefMapping fullTextFilterDef(String name, Class<?> impl)
Copyright © 2006-2023 Red Hat, Inc. and others. Licensed under the GNU Lesser General Public License (LGPL), version 2.1 or later.