Interface FullTextSession

    • Method Detail

      • createFullTextQuery

        FullTextQuery createFullTextQuery​(Query luceneQuery,
                                          Class<?>... entities)
        Deprecated.
        Description copied from interface: FullTextEntityManager
        Create a fulltext query on top of a native Lucene query returning the matching objects of type entities and their respective subclasses.
        Specified by:
        createFullTextQuery in interface FullTextEntityManager
        Parameters:
        luceneQuery - The native Lucene query to be rn against the Lucene index.
        entities - List of classes for type filtering. The query result will only return entities of the specified types and their respective subtype. If no class is specified no type filtering will take place.
        Returns:
        A FullTextQuery wrapping around the native Lucene wuery.