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

ixUnDeleteRecordNums

NAME

ixUnDeleteRecordNums -- Undelete a series of record numbers which have already been deleted from the index.

SYNOPSIS

void ixUnDeleteRecordNums(OnixIndexManagerT IndexManager, RecordNumT *RecordNumArray, size_t NumRecords, StatusCodeT *Status);

ARGUMENTS

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

RecordNumArray -- An array of type RecordNumT of record numbers which are to be added back to the index.

NumRecords -- The number of records to be undeleted and are  in the RecordNumArray.

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

RETURNS

Nothing.

DESCRIPTION

ixUnDeleteRecordNums batch undeletes a series of record numbers from the index.  The record numbers to be undeleted are placed in the array RecordNumArray and the value NumRecords is set to the number of records to be undeleted. The record numbers do not need to be sorted.  (Onix does this internally.)  ixUnDeleteRecordNums undeletes the record numbers immediately though the changes are not committed to the index until a call to ixCloseIndex() is made.  Note: The index associated with IndexManager must be open and a retrieval session must be in progress or else this function will fail.

SEE ALSO

ixIsRecordDeleted, ixDeleteRecordNum, ixDeleteRecordNums, ixUnDeleteRecordNum, ixOutputDeletedRecords, ixGetNumberOfRecordsDeleted