Class IndexingConfiguration

    • Method Detail

      • enabled

        @Deprecated
        public boolean enabled()
        Deprecated.
        Use index() instead
        Whether indexing is enabled. False by default.
      • indexLocalOnly

        @Deprecated
        public boolean indexLocalOnly()
        Deprecated.
        Use index() instead
        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
      • index

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

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

        public Set<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