Search criteria validation on server start-up

The PolicyCenter production server validates your search configuration whenever the server receives a start-up request. If the validation fails, the server does not start. The production server validates the following:

  • The CriteriaDef entity and targetEntity attributes reference real entities.
  • The targetEntity type is a persistent entity.
  • The targetProperty attributes reference searchable properties on the target entity, except for those on ArrayCriterion elements that must reference an array column.
  • The type of each property attribute on a Criterion element matches the type of its corresponding targetProperty, for example, that both are strings or both are numbers.
  • All Criterion match types (matchType) are suitable for the criterion property. For example, you can use startsWith only for String properties.)

See also