Class LuceneTextTermsAggregation.Factory
java.lang.Object
org.hibernate.search.backend.lucene.search.common.impl.AbstractLuceneValueFieldSearchQueryElementFactory<TermsAggregationBuilder.TypeSelector,String>
org.hibernate.search.backend.lucene.types.aggregation.impl.LuceneTextTermsAggregation.Factory
- All Implemented Interfaces:
SearchQueryElementFactory<TermsAggregationBuilder.TypeSelector,LuceneSearchIndexScope<?>, LuceneSearchIndexValueFieldContext<String>>
- Enclosing class:
- LuceneTextTermsAggregation<K>
public static class LuceneTextTermsAggregation.Factory
extends AbstractLuceneValueFieldSearchQueryElementFactory<TermsAggregationBuilder.TypeSelector,String>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.hibernate.search.backend.lucene.types.aggregation.impl.LuceneTextTermsAggregation.TypeSelectorcreate(LuceneSearchIndexScope<?> scope, LuceneSearchIndexValueFieldContext<String> field) Methods inherited from class org.hibernate.search.backend.lucene.search.common.impl.AbstractLuceneValueFieldSearchQueryElementFactory
checkCompatibleWith
-
Constructor Details
-
Factory
public Factory()
-
-
Method Details
-
create
public org.hibernate.search.backend.lucene.types.aggregation.impl.LuceneTextTermsAggregation.TypeSelector create(LuceneSearchIndexScope<?> scope, LuceneSearchIndexValueFieldContext<String> field) - Specified by:
createin interfaceSearchQueryElementFactory<TermsAggregationBuilder.TypeSelector,LuceneSearchIndexScope<?>, LuceneSearchIndexValueFieldContext<String>> - Specified by:
createin classAbstractLuceneValueFieldSearchQueryElementFactory<TermsAggregationBuilder.TypeSelector,String> - 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).
-