Class TokenCountFieldMapper

All Implemented Interfaces:
Cloneable, Iterable<Mapper>, org.opensearch.core.xcontent.ToXContent, org.opensearch.core.xcontent.ToXContentFragment

public class TokenCountFieldMapper extends ParametrizedFieldMapper
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.