Class TokenCountFieldMapper

java.lang.Object
org.elasticsearch.index.mapper.Mapper
org.elasticsearch.index.mapper.FieldMapper
org.elasticsearch.index.mapper.TokenCountFieldMapper
All Implemented Interfaces:
java.lang.Cloneable, java.lang.Iterable<Mapper>, ToXContent, ToXContentFragment

public class TokenCountFieldMapper
extends FieldMapper
A FieldMapper that takes a string and writes a count of the tokens in that string to the index. In most ways the mapper acts just like an NumberFieldMapper.