Class IgnoredSourceFieldMapper.SingularIgnoredSourceEncoding

java.lang.Object
org.elasticsearch.index.mapper.IgnoredSourceFieldMapper.SingularIgnoredSourceEncoding
Enclosing class:
IgnoredSourceFieldMapper

public static class IgnoredSourceFieldMapper.SingularIgnoredSourceEncoding extends Object
Encodes/decodes a single ignored field/value pair to/from a BytesRef blob.

The blob itself is of the following format: [header][field name][value] where:

  • header is a little-endian int32 that packs field-name.length and the parent offset
  • field name is the full field path, as UTF-8 bytes
  • value is the ignored value encoded by XContentDataHelper