Class ElasticsearchStandardFieldSort.TextFieldFactory
- java.lang.Object
-
- org.hibernate.search.backend.elasticsearch.search.common.impl.AbstractElasticsearchValueFieldSearchQueryElementFactory<T,F>
-
- org.hibernate.search.backend.elasticsearch.search.common.impl.AbstractElasticsearchCodecAwareSearchQueryElementFactory<FieldSortBuilder,F>
-
- org.hibernate.search.backend.elasticsearch.types.sort.impl.ElasticsearchStandardFieldSort.Factory<String>
-
- org.hibernate.search.backend.elasticsearch.types.sort.impl.ElasticsearchStandardFieldSort.TextFieldFactory
-
- All Implemented Interfaces:
SearchQueryElementFactory<FieldSortBuilder,ElasticsearchSearchIndexScope<?>,ElasticsearchSearchIndexValueFieldContext<String>>
- Enclosing class:
- ElasticsearchStandardFieldSort
public static class ElasticsearchStandardFieldSort.TextFieldFactory extends ElasticsearchStandardFieldSort.Factory<String>
-
-
Field Summary
-
Fields inherited from class org.hibernate.search.backend.elasticsearch.search.common.impl.AbstractElasticsearchCodecAwareSearchQueryElementFactory
codec
-
-
Constructor Summary
Constructors Constructor Description TextFieldFactory(ElasticsearchFieldCodec<String> codec)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.hibernate.search.backend.elasticsearch.types.sort.impl.ElasticsearchStandardFieldSort.TextFieldBuildercreate(ElasticsearchSearchIndexScope<?> scope, ElasticsearchSearchIndexValueFieldContext<String> field)-
Methods inherited from class org.hibernate.search.backend.elasticsearch.search.common.impl.AbstractElasticsearchCodecAwareSearchQueryElementFactory
checkCompatibleWith
-
-
-
-
Constructor Detail
-
TextFieldFactory
public TextFieldFactory(ElasticsearchFieldCodec<String> codec)
-
-
Method Detail
-
create
public org.hibernate.search.backend.elasticsearch.types.sort.impl.ElasticsearchStandardFieldSort.TextFieldBuilder create(ElasticsearchSearchIndexScope<?> scope, ElasticsearchSearchIndexValueFieldContext<String> field)
- Specified by:
createin interfaceSearchQueryElementFactory<FieldSortBuilder,ElasticsearchSearchIndexScope<?>,ElasticsearchSearchIndexValueFieldContext<String>>- Overrides:
createin classElasticsearchStandardFieldSort.Factory<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).
-
-