public class DocumentIdMapping extends Object
Constructor and Description |
---|
DocumentIdMapping(PropertyDescriptor property,
EntityDescriptor entity,
SearchMapping mapping) |
Modifier and Type | Method and Description |
---|---|
AnalyzerDefMapping |
analyzerDef(String name,
Class<? extends TokenizerFactory> tokenizerFactory) |
PropertyMapping |
bridge(Class<? extends FieldBridge> fieldBridge) |
EntityMapping |
entity(Class<?> entityType) |
FieldMapping |
field() |
DocumentIdMapping |
name(String fieldName) |
PropertyMapping |
property(String name,
ElementType type) |
SortableFieldMapping |
sortableField() |
PropertySpatialMapping |
spatial() |
public DocumentIdMapping(PropertyDescriptor property, EntityDescriptor entity, SearchMapping mapping)
public DocumentIdMapping name(String fieldName)
public FieldMapping field()
public SortableFieldMapping sortableField()
public PropertySpatialMapping spatial()
public PropertyMapping property(String name, ElementType type)
public AnalyzerDefMapping analyzerDef(String name, Class<? extends TokenizerFactory> tokenizerFactory)
public EntityMapping entity(Class<?> entityType)
public PropertyMapping bridge(Class<? extends FieldBridge> fieldBridge)
Copyright © 2006-2017 Red Hat, Inc. All Rights Reserved