Class IndexingConfiguration

    • Field Detail

      • INDEX

        public static final org.infinispan.commons.configuration.attributes.AttributeDefinition<Index> INDEX

        public static final org.infinispan.commons.configuration.attributes.AttributeDefinition<Boolean> AUTO_CONFIG

        public static final org.infinispan.commons.configuration.attributes.AttributeDefinition<Map<Class<?>,​Class<?>>> KEY_TRANSFORMERS

        public static final org.infinispan.commons.configuration.attributes.AttributeDefinition<Set<Class<?>>> INDEXED_ENTITIES
    • Method Detail

      • getElementDefinition

        public org.infinispan.commons.configuration.elements.ElementDefinition getElementDefinition()
        Specified by:
        getElementDefinition in interface BaseConfigurationInfo
        the ElementDefinition of the configuration.
      • 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.

        properties in class AbstractTypedPropertiesConfiguration
        See Also:
        Hibernate Search
      • index

        public Index index()
        Returns the indexing mode of this cache.
      • autoConfig

        public boolean autoConfig()
        Determines if autoconfig is enabled for this IndexingConfiguration.
      • keyTransformers

        public Map<Class<?>,​Class<?>> keyTransformers()
        The currently configured key transformers.
        a Map in which the map key is the key class and the value is the Transformer class.
      • indexedEntities

        public Set<Class<?>> indexedEntities()
      • attributes

        public org.infinispan.commons.configuration.attributes.AttributeSet attributes()
        Specified by:
        attributes in interface BaseConfigurationInfo
        the AttributeSet declared by the configuration.
      • indexShareable

        public boolean indexShareable()
        Check if the indexes can be shared. Currently only "ram" based indexes don't allow any sort of sharing.
        false if the index is ram only and thus not shared