Class TextFamilyFieldType.ConditionalBlockLoaderWithIgnoreField

java.lang.Object
org.elasticsearch.index.mapper.BlockLoader.ConditionalBlockLoader
org.elasticsearch.index.mapper.TextFamilyFieldType.ConditionalBlockLoaderWithIgnoreField
All Implemented Interfaces:
BlockLoader
Enclosing class:
TextFamilyFieldType

public static final class TextFamilyFieldType.ConditionalBlockLoaderWithIgnoreField extends BlockLoader.ConditionalBlockLoader
A BlockLoader.ConditionalBlockLoader that checks whether the prefer field exists in the _ignore field. If the prefer field's term does not exist in the _ignore field, the prefer loader is used for all documents. If the term exists in the _ignore field, the loader checks each document: if the term appears in the _ignore field for a document, the fallback loader is used for that document; otherwise use the prefer loader.