Class IndexingConfiguration

    • Method Detail

      • enabled

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

        public boolean indexLocalOnly()
        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.

        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
        false if the index is ram only and thus not shared