Class TextFieldFamilySyntheticSourceTestSetup

java.lang.Object
org.elasticsearch.index.mapper.TextFieldFamilySyntheticSourceTestSetup

public final class TextFieldFamilySyntheticSourceTestSetup extends Object
Provides functionality needed to test synthetic source support in text and text-like fields (e.g. "text", "annotated_text").
  • Constructor Details

    • TextFieldFamilySyntheticSourceTestSetup

      public TextFieldFamilySyntheticSourceTestSetup()
  • Method Details

    • syntheticSourceSupport

      public static MapperTestCase.SyntheticSourceSupport syntheticSourceSupport(String fieldType, boolean supportsCustomIndexConfiguration)
    • validateRoundTripReader

      public static void validateRoundTripReader(String syntheticSource, org.apache.lucene.index.DirectoryReader reader, org.apache.lucene.index.DirectoryReader roundTripReader)