Package org.elasticsearch.index.mapper
Class MatchOnlyTextFieldMapper.Builder
java.lang.Object
org.elasticsearch.index.mapper.Mapper.Builder
org.elasticsearch.index.mapper.FieldMapper.Builder
org.elasticsearch.index.mapper.MatchOnlyTextFieldMapper.Builder
- All Implemented Interfaces:
org.elasticsearch.common.xcontent.ToXContent,org.elasticsearch.common.xcontent.ToXContentFragment
- Enclosing class:
- MatchOnlyTextFieldMapper
public static class MatchOnlyTextFieldMapper.Builder
extends org.elasticsearch.index.mapper.FieldMapper.Builder
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.elasticsearch.common.xcontent.ToXContent
org.elasticsearch.common.xcontent.ToXContent.DelegatingMapParams, org.elasticsearch.common.xcontent.ToXContent.MapParams, org.elasticsearch.common.xcontent.ToXContent.Params -
Field Summary
Fields inherited from class org.elasticsearch.index.mapper.FieldMapper.Builder
copyTo, multiFieldsBuilderFields inherited from class org.elasticsearch.index.mapper.Mapper.Builder
nameFields inherited from interface org.elasticsearch.common.xcontent.ToXContent
EMPTY_PARAMS -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddMultiField(org.elasticsearch.index.mapper.FieldMapper.Builder builder)build(org.elasticsearch.index.mapper.ContentPath contentPath)protected List<org.elasticsearch.index.mapper.FieldMapper.Parameter<?>>Methods inherited from class org.elasticsearch.index.mapper.FieldMapper.Builder
addScriptValidation, buildFullName, init, parentPath, parse, toXContentMethods inherited from class org.elasticsearch.index.mapper.Mapper.Builder
nameMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.elasticsearch.common.xcontent.ToXContentFragment
isFragment
-
Constructor Details
-
Builder
-
Builder
public Builder(String name, org.elasticsearch.Version indexCreatedVersion, org.elasticsearch.index.analysis.IndexAnalyzers indexAnalyzers)
-
-
Method Details
-
addMultiField
public MatchOnlyTextFieldMapper.Builder addMultiField(org.elasticsearch.index.mapper.FieldMapper.Builder builder) -
getParameters
- Specified by:
getParametersin classorg.elasticsearch.index.mapper.FieldMapper.Builder
-
build
- Specified by:
buildin classorg.elasticsearch.index.mapper.FieldMapper.Builder
-