Interface LuceneSearchPredicateFactory

All Superinterfaces:
org.hibernate.search.engine.search.predicate.dsl.ExtendedSearchPredicateFactory<LuceneSearchPredicateFactory>, org.hibernate.search.engine.search.predicate.dsl.SearchPredicateFactory

public interface LuceneSearchPredicateFactory extends org.hibernate.search.engine.search.predicate.dsl.ExtendedSearchPredicateFactory<LuceneSearchPredicateFactory>
A factory for search predicates with some Lucene-specific methods.
  • Method Summary

    Modifier and Type
    Method
    Description
    org.hibernate.search.engine.search.predicate.dsl.PredicateFinalStep
    Create a predicate from a Lucene Query.

    Methods inherited from interface org.hibernate.search.engine.search.predicate.dsl.ExtendedSearchPredicateFactory

    withRoot

    Methods inherited from interface org.hibernate.search.engine.search.predicate.dsl.SearchPredicateFactory

    and, and, and, bool, bool, exists, extension, extension, id, knn, match, matchAll, matchNone, named, nested, nested, not, not, or, or, or, phrase, prefix, queryString, range, regexp, simpleQueryString, spatial, terms, toAbsolutePath, wildcard, withParameters
  • Method Details

    • fromLuceneQuery

      org.hibernate.search.engine.search.predicate.dsl.PredicateFinalStep fromLuceneQuery(Query query)
      Create a predicate from a Lucene Query.
      Parameters:
      query - A Lucene query.
      Returns:
      The final step of the predicate DSL.