Interface LuceneSearchPredicateFactory
-
- All Superinterfaces:
ExtendedSearchPredicateFactory<LuceneSearchPredicateFactory>,SearchPredicateFactory
- All Known Implementing Classes:
LuceneSearchPredicateFactoryImpl
public interface LuceneSearchPredicateFactory extends ExtendedSearchPredicateFactory<LuceneSearchPredicateFactory>
A factory for search predicates with some Lucene-specific methods.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description PredicateFinalStepfromLuceneQuery(org.apache.lucene.search.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 Detail
-
fromLuceneQuery
PredicateFinalStep fromLuceneQuery(org.apache.lucene.search.Query query)
Create a predicate from a LuceneQuery.- Parameters:
query- A Lucene query.- Returns:
- The final step of the predicate DSL.
-
-