Class ComplexFieldsWithStructFieldIndexesValidator

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

public class ComplexFieldsWithStructFieldIndexesValidator extends Object implements Validator
Validates that complex fields (of type struct or map) do not have any struct fields with 'indexing: index'. This is not supported and will confuse the user if not validated. Only applies for indexed search clusters.
Author:
geirst
  • Constructor Details

    • ComplexFieldsWithStructFieldIndexesValidator

      public ComplexFieldsWithStructFieldIndexesValidator()
  • 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