public class IndexedMapping extends Object
Constructor and Description |
---|
IndexedMapping(SearchMapping mapping,
EntityDescriptor entity) |
public IndexedMapping(SearchMapping mapping, EntityDescriptor entity)
public IndexedMapping indexName(String indexName)
public IndexedMapping interceptor(Class<? extends EntityIndexingInterceptor> interceptor)
@Deprecated public IndexedMapping cacheFromIndex(FieldCacheType... type)
type
- this argument will be ignoredthis
for method chainingpublic IndexedMapping boost(float boost)
public IndexedMapping dynamicBoost(Class<? extends BoostStrategy> impl)
public IndexedMapping analyzerDiscriminator(Class<? extends Discriminator> discriminator)
public IndexedClassBridgeMapping classBridge(Class<?> impl)
public IndexedClassBridgeMapping 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 typepublic 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 ProvidedIdMapping providedId()
public EntitySpatialMapping spatial()
Copyright © 2006-2017 Red Hat, Inc. All Rights Reserved