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 TokenizerFactory> tokenizerFactory) |
EntitySpatialMapping |
boost(float boost) |
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) |
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)
public EntitySpatialMapping boost(float boost)
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)
public AnalyzerDefMapping analyzerDef(String name, Class<? extends TokenizerFactory> tokenizerFactory)
public 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-2017 Red Hat, Inc. All Rights Reserved