public class PropertySpatialMapping extends Object
| Constructor and Description |
|---|
PropertySpatialMapping(PropertyDescriptor property,
EntityDescriptor entity,
SearchMapping mapping) |
| 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 |
PropertySpatialMapping |
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. |
PropertySpatialMapping |
bottomSpatialHashLevel(int bottomSpatialHashLevel) |
PropertyMapping |
bridge(Class<? extends FieldBridge> fieldBridge) |
EntityMapping |
entity(Class<?> entityType) |
FieldMapping |
field() |
PropertySpatialMapping |
name(String fieldName) |
NormalizerDefMapping |
normalizerDef(String name)
Deprecated.
See
AnalyzerDef |
PropertyMapping |
property(String name,
ElementType type) |
PropertySpatialMapping |
spatial() |
PropertySpatialMapping |
spatialMode(SpatialMode spatialMode) |
PropertySpatialMapping |
store(Store store) |
PropertySpatialMapping |
topSpatialHashLevel(int topSpatialHashLevel) |
public PropertySpatialMapping(PropertyDescriptor property, EntityDescriptor entity, SearchMapping mapping)
public PropertySpatialMapping spatial()
public PropertySpatialMapping name(String fieldName)
public PropertySpatialMapping store(Store store)
@Deprecated public PropertySpatialMapping boost(float boost)
boostedTo(float)
when building queries with the Hibernate Search query DSL.public PropertySpatialMapping spatialMode(SpatialMode spatialMode)
public PropertySpatialMapping topSpatialHashLevel(int topSpatialHashLevel)
public PropertySpatialMapping bottomSpatialHashLevel(int bottomSpatialHashLevel)
public FieldMapping field()
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 PropertyMapping bridge(Class<? extends FieldBridge> fieldBridge)
Copyright © 2006-2023 Red Hat, Inc. and others. Licensed under the GNU Lesser General Public License (LGPL), version 2.1 or later.