Class ComplexFieldsWithStructFieldAttributesValidator

java.lang.Object
com.yahoo.vespa.model.application.validation.ComplexFieldsWithStructFieldAttributesValidator
All Implemented Interfaces:
Validator

public class ComplexFieldsWithStructFieldAttributesValidator extends Object implements Validator
Validates that complex fields (of type struct or map) that have struct field attributes are supported. Only applies for indexed search clusters.
Author:
geirst
  • Constructor Details

    • ComplexFieldsWithStructFieldAttributesValidator

      public ComplexFieldsWithStructFieldAttributesValidator()
  • Method Details

    • validate

      public void validate(Validation.Context context)
      Description copied from interface: Validator
      Validates the input Vespa model; illegal configuration should be reported through the context, while other problems (system error, insufficient quota, etc.) should be thrown.
      Specified by:
      validate in interface Validator