Class ComplexFieldsWithStructFieldIndexesValidator

java.lang.Object
com.yahoo.vespa.model.application.validation.Validator
com.yahoo.vespa.model.application.validation.ComplexFieldsWithStructFieldIndexesValidator

public class ComplexFieldsWithStructFieldIndexesValidator extends 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(VespaModel model, DeployState deployState)
      Description copied from class: Validator
      Validates the input vespamodel
      Specified by:
      validate in class Validator
      Parameters:
      model - a VespaModel object
      deployState - the DeployState built from building the model