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 TypeMethodDescriptionorg.hibernate.search.engine.search.predicate.dsl.PredicateFinalStepfromLuceneQuery(Query query) Create a predicate from a LuceneQuery.Methods inherited from interface org.hibernate.search.engine.search.predicate.dsl.ExtendedSearchPredicateFactory
withRootMethods 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
Create a predicate from a LuceneQuery.- Parameters:
query- A Lucene query.- Returns:
- The final step of the predicate DSL.
-