public class EntitySpatialMapping extends Object
| Constructor and Description |
|---|
EntitySpatialMapping(SearchMapping mapping,
EntityDescriptor entity) |
| 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 |
EntitySpatialMapping |
boost(float boost)
Deprecated.
Index-time boosting will not be possible anymore starting from Lucene 7.
You should use query-time boosting instead, for instance by calling
boostedTo(float)
when building queries with the Hibernate Search query DSL. |
EntitySpatialMapping |
bottomSpatialHashLevel(int bottomSpatialHashLevel) |
ClassBridgeMapping |
classBridge(Class<?> impl) |
ClassBridgeMapping |
classBridgeInstance(FieldBridge instance)
Registers the given class bridge for the currently configured entity type.
|
EntityMapping |
entity(Class<?> entityType) |
FullTextFilterDefMapping |
fullTextFilterDef(String name,
Class<?> impl) |
EntitySpatialMapping |
name(String fieldName) |
NormalizerDefMapping |
normalizerDef(String name)
Deprecated.
See
AnalyzerDef |
PropertyMapping |
property(String name,
ElementType type) |
EntitySpatialMapping |
spatial() |
EntitySpatialMapping |
spatialMode(SpatialMode spatialMode) |
EntitySpatialMapping |
store(Store store) |
EntitySpatialMapping |
topSpatialHashLevel(int topSpatialHashLevel) |
public EntitySpatialMapping(SearchMapping mapping, EntityDescriptor entity)
public EntitySpatialMapping spatial()
public EntitySpatialMapping name(String fieldName)
public EntitySpatialMapping store(Store store)
@Deprecated public EntitySpatialMapping boost(float boost)
boostedTo(float)
when building queries with the Hibernate Search query DSL.public EntitySpatialMapping spatialMode(SpatialMode spatialMode)
public EntitySpatialMapping topSpatialHashLevel(int topSpatialHashLevel)
public EntitySpatialMapping bottomSpatialHashLevel(int bottomSpatialHashLevel)
public FullTextFilterDefMapping fullTextFilterDef(String name, Class<?> impl)
public PropertyMapping property(String name, ElementType type)
@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 ClassBridgeMapping classBridge(Class<?> impl)
public ClassBridgeMapping classBridgeInstance(FieldBridge instance)
instance - a class bridge instanceClassBridgeMapping following the method chaining patternSearchException - in case the same bridge instance is passed more than once for the
currently configured entity typeCopyright © 2006-2023 Red Hat, Inc. and others. Licensed under the GNU Lesser General Public License (LGPL), version 2.1 or later.