public class SearchMapping extends Object
Indexed
etc. In case of conflicts the programmatic configuration for an
element takes precedence over the annotation-based configuration.Constructor and Description |
---|
SearchMapping() |
Modifier and Type | Method and Description |
---|---|
AnalyzerDefMapping |
analyzerDef(String name,
Class<? extends org.apache.lucene.analysis.util.TokenizerFactory> tokenizerFactory) |
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() |
public EntityDescriptor getEntityDescriptor(Class<?> entityType)
public AnalyzerDefMapping analyzerDef(String name, Class<? extends org.apache.lucene.analysis.util.TokenizerFactory> tokenizerFactory)
public EntityMapping entity(Class<?> entityType)
public FullTextFilterDefMapping fullTextFilterDef(String name, Class<?> impl)
Copyright © 2006–2016 Hibernate. All rights reserved.