Interface SearchManagerImplementor

    • Method Detail

      • setTimeoutExceptionFactory

        @Deprecated
        void setTimeoutExceptionFactory​(org.hibernate.search.query.engine.spi.TimeoutExceptionFactory timeoutExceptionFactory)
        Deprecated.
        Since 11.0, without replacement. To be removed in next major version.
        Define the timeout exception factory to customize the exception thrown when the query timeout is exceeded.
        Parameters:
        timeoutExceptionFactory - the timeout exception factory to use
      • getQuery

        @Deprecated
        <E> CacheQuery<E> getQuery​(QueryDefinition queryDefinition,
                                   org.infinispan.query.dsl.IndexedQueryMode indexedQueryMode,
                                   org.hibernate.search.spi.IndexedTypeMap<org.hibernate.search.spi.CustomTypeMetadata> indexedTypeMap)
        Deprecated.
        Since 11.0, without replacement. To be removed in next major version.
        Creates a cache query based on a QueryDefinition and a custom metadata.
      • getQuery

        @Deprecated
        <E> CacheQuery<E> getQuery​(org.apache.lucene.search.Query luceneQuery,
                                   org.infinispan.query.dsl.IndexedQueryMode indexedQueryMode,
                                   Class<?> entity)
        Deprecated.
        Since 11.0 without replacement. To be removed in next major version.
        This is a simple method that will just return a CacheQuery, filtered according to a set of classes passed in. If no classes are passed in, it is assumed that no type filtering is performed and so all known types will be searched.
        Parameters:
        luceneQuery - Query
        indexedQueryMode - The IndexedQueryMode used when executing the query.
        entity - The entity type to query against.
        Returns:
        the CacheQuery object which can be used to iterate through results.