Class LuceneTextMatchPredicate.Factory<F>
java.lang.Object
org.hibernate.search.backend.lucene.search.common.impl.AbstractLuceneValueFieldSearchQueryElementFactory<T,F>
org.hibernate.search.backend.lucene.search.common.impl.AbstractLuceneCodecAwareSearchQueryElementFactory<MatchPredicateBuilder,F,LuceneFieldCodec<F,String>>
org.hibernate.search.backend.lucene.types.predicate.impl.LuceneTextMatchPredicate.Factory<F>
- All Implemented Interfaces:
SearchQueryElementFactory<MatchPredicateBuilder,LuceneSearchIndexScope<?>, LuceneSearchIndexValueFieldContext<F>>
- Enclosing class:
- LuceneTextMatchPredicate
public static class LuceneTextMatchPredicate.Factory<F>
extends AbstractLuceneCodecAwareSearchQueryElementFactory<MatchPredicateBuilder,F,LuceneFieldCodec<F,String>>
-
Field Summary
Fields inherited from class org.hibernate.search.backend.lucene.search.common.impl.AbstractLuceneCodecAwareSearchQueryElementFactory
codec -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.hibernate.search.backend.lucene.types.predicate.impl.LuceneTextMatchPredicate.Builder<F>create(LuceneSearchIndexScope<?> scope, LuceneSearchIndexValueFieldContext<F> field) Methods inherited from class org.hibernate.search.backend.lucene.search.common.impl.AbstractLuceneCodecAwareSearchQueryElementFactory
checkCompatibleWith
-
Constructor Details
-
Factory
-
-
Method Details
-
create
public org.hibernate.search.backend.lucene.types.predicate.impl.LuceneTextMatchPredicate.Builder<F> create(LuceneSearchIndexScope<?> scope, LuceneSearchIndexValueFieldContext<F> field) - Specified by:
createin interfaceSearchQueryElementFactory<MatchPredicateBuilder,LuceneSearchIndexScope<?>, LuceneSearchIndexValueFieldContext<F>> - Specified by:
createin classAbstractLuceneValueFieldSearchQueryElementFactory<MatchPredicateBuilder,F> - Parameters:
scope- The search context, i.e. information regarding the targeted indexes.field- The targeted index node.- Returns:
- The query element, or an intermediary builder (depending on the factory type).
-