org.hibernate.search.engine.spi
Interface EntityIndexBinder

All Known Implementing Classes:
MutableEntityIndexBinding

public interface EntityIndexBinder

Specifies the relation and options from an indexed entity to its index(es).

Since:
4.0
Author:
Sanne Grinovero (C) 2011 Red Hat Inc.

Method Summary
 DocumentBuilderIndexedEntity<?> getDocumentBuilder()
           
 EntityIndexingInterceptor<?> getEntityIndexingInterceptor()
           
 FieldCacheCollectorFactory getIdFieldCacheCollectionFactory()
           
 IndexManager[] getIndexManagers()
           
 IndexShardingStrategy getSelectionStrategy()
           
 org.apache.lucene.search.Similarity getSimilarity()
           
 void postInitialize(Set<Class<?>> indexedClasses)
           
 

Method Detail

getSimilarity

org.apache.lucene.search.Similarity getSimilarity()
Returns:
the Similarity used to search and index this entity

getSelectionStrategy

IndexShardingStrategy getSelectionStrategy()
Returns:
the sharding strategy

getDocumentBuilder

DocumentBuilderIndexedEntity<?> getDocumentBuilder()
Returns:

getIdFieldCacheCollectionFactory

FieldCacheCollectorFactory getIdFieldCacheCollectionFactory()
Returns:

postInitialize

void postInitialize(Set<Class<?>> indexedClasses)
Parameters:
indexedClasses -

getIndexManagers

IndexManager[] getIndexManagers()
Returns:

getEntityIndexingInterceptor

EntityIndexingInterceptor<?> getEntityIndexingInterceptor()


Copyright © 2006-2012 Red Hat Middleware, LLC. All Rights Reserved