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
Modifier and TypeMethodDescriptionfromLuceneQuery(org.apache.lucene.search.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.
-