org.infinispan.configuration.cache
Class IndexingConfiguration

java.lang.Object
  extended by org.infinispan.configuration.AbstractTypedPropertiesConfiguration
      extended by org.infinispan.configuration.cache.IndexingConfiguration

public class IndexingConfiguration
extends AbstractTypedPropertiesConfiguration

Configures indexing of entries in the cache for searching.


Method Summary
 boolean enabled()
          Whether indexing is enabled.
 boolean equals(Object o)
           
 int hashCode()
           
 boolean indexLocalOnly()
          If true, only index changes made locally, ignoring remote changes.
 TypedProperties properties()
           These properties are passed directly to the embedded Hibernate Search engine, so for the complete and up to date documentation about available properties refer to the Hibernate Search reference of the version you're using with Infinispan Query.
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Method Detail

enabled

public boolean enabled()
Whether indexing is enabled. False by default.


indexLocalOnly

public boolean indexLocalOnly()
If true, only index changes made locally, ignoring remote changes. This is useful if indexes are shared across a cluster to prevent redundant indexing of updates.


properties

public TypedProperties properties()

These properties are passed directly to the embedded Hibernate Search engine, so for the complete and up to date documentation about available properties refer to the Hibernate Search reference of the version you're using with Infinispan Query.

Overrides:
properties in class AbstractTypedPropertiesConfiguration
See Also:
Hibernate Search

toString

public String toString()
Overrides:
toString in class Object

equals

public boolean equals(Object o)
Overrides:
equals in class AbstractTypedPropertiesConfiguration

hashCode

public int hashCode()
Overrides:
hashCode in class AbstractTypedPropertiesConfiguration

-->

Copyright © 2012 JBoss, a division of Red Hat. All Rights Reserved.