Interface LuceneSearchPredicateFactory<SR>

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

public interface LuceneSearchPredicateFactory<SR> extends org.hibernate.search.engine.search.predicate.dsl.ExtendedSearchPredicateFactory<SR, LuceneSearchPredicateFactory<SR>>
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, withScopeRoot

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

    and, and, bool, extension, id, matchNone, named, not, not, or, or, withParameters

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

    and, bool, exists, extension, knn, match, matchAll, nested, nested, nested, or, phrase, prefix, queryString, range, regexp, simpleQueryString, spatial, terms, toAbsolutePath, wildcard
  • 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.