company logo

PropertyHandle :: RepairCollection - Repair collection

The function checks the physical consistency of all indexes and collection instances. Detected damages are repaired. Moreover, the function checks inverse references for all relationships for collection instances. Messages about repair actions are written to the error log file.

The function will remove index entries pointing to invalid instance (deleted). It repairs also index tree information in large indexes.

The function will not detect logical inconsistencies in indexes, i.e. missing index entries or invalid keys. In order to repair this type of inconsistency, one may call RepairKey() or RebuildIndex().


Notes:

The function works similar as callingCheckData("-C:IX T:A") or CheckData("-C:IX T:A -R"), when passing YES in repair_opt..

Return value:   - internal feature (not documented) ( NString & )

Implementation details

NString PropertyHandle  :: RepairCollection ( logical repair_opt )

The function returns a string containing repair protocol messages.

  • repair_opt - - internal feature (not documented)