Interface LuceneSearchPredicateFactory
- All Superinterfaces:
ExtendedSearchPredicateFactory<LuceneSearchPredicateFactory>
,SearchPredicateFactory
public interface LuceneSearchPredicateFactory
extends ExtendedSearchPredicateFactory<LuceneSearchPredicateFactory>
A factory for search predicates with some Lucene-specific methods.
-
Method Summary
Modifier and TypeMethodDescriptionfromLuceneQuery
(Query query) Create a predicate from a LuceneQuery
.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, match, matchAll, matchNone, named, nested, nested, not, not, or, or, or, phrase, range, regexp, simpleQueryString, spatial, terms, toAbsolutePath, wildcard
-
Method Details
-
fromLuceneQuery
Create a predicate from a LuceneQuery
.- Parameters:
query
- A Lucene query.- Returns:
- The final step of the predicate DSL.
-