The Main Manual Page Dynamic API Documentation CD-ROM API Documentation About Onix Types About Onix Errors Onix's Web Site at Lextek International Lextek International Onix Full Text Indexing and Retrieval Toolkit

ixUnDeleteRecordNum

NAME

ixUnDeleteRecordNum -- Undelete a record number which has previously been deleted.

SYNOPSIS

void ixUnDeleteRecordNum(OnixIndexManagerT IndexManager, RecordNumT RecordNum, StatusCodeT *Status);

ARGUMENTS

IndexManager -- An index manager with an open index and a retrieval session in progress.

RecordNum -- The record number of the record to be undeleted.

Status -- A pointer to a value of type StatusCodeT.  If an error occurs, *Status will be set to the value of the corresponding error code.

RETURNS

Nothing.

DESCRIPTION

Sometimes it is useful to undelete a record number which has previously been deleted.  ixUnDeleteRecordNum is provided for just this purpose.  This function will fail if the index manager does not have an open index and the index does not have a retrieval session in progress.  The undeletion of the record takes effect immediately though the actual change is not committed to the index until a call to ixCloseIndex() is made.

SEE ALSO

ixIsRecordDeleted, ixDeleteRecordNum, ixDeleteRecordNums, ixUnDeleteRecordNums, ixOutputDeletedRecords, ixGetNumberOfRecordsDeleted, ixCloseIndex