Class IndexingConfiguration

    • Method Detail

      • 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
      • 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 java.util.Map<java.lang.Class<?>,​java.lang.Class<?>> keyTransformers()
        The currently configured key transformers.
        Returns:
        a Map in which the map key is the key class and the value is the Transformer class.
      • indexedEntities

        public java.util.Set<java.lang.Class<?>> indexedEntities()
      • indexShareable

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