You can define validations to be performed against certain fields before information is entered into the master index database. Once you create the custom plug-ins containing the validation logic, enter the name of the plug-in in the Field Validation file. Follow these guidelines when implementing custom field validators.
The custom validation classes must implement com.stc.eindex.objects.validation.ObjectValidator.
The exception thrown is com.stc.eindex.objects.validation.exception.ValidationException.
One default field validator, validate-local-id, is provided to validate system and local ID fields before processing data into the database. This is described in Understanding Sun Master Index Configuration Options (Repository).