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

ixStoreMoreRecordData

NAME

ixStoreMoreRecordData -- Store data associated with the current record.

SYNOPSIS

ixStoreMoreRecordData(OnixIndexingEngineT IndexingEngine, UCharT *DataBuff, size_t RecDataSize, StatusCodeT *Status);

ARGUMENTS

IndexingEngine -- An indexing engine which was created by a call to ixStartIndexingSession().

DataBuff -- A pointer to a buffer containing the data associated with the current record.

RecDataSize -- A integer of type unsigned integer (size_t)  which specifies how much data is in the buffer DataBuff (in bytes).

*Status -- A pointer to a StatusCodeT.  (This is where any errors will be reported.)

RETURNS

Nothing.

DESCRIPTION

ixStoreMoreRecordData lets you store additional data with the record you are currently indexing beyond that stored originally by ixStoreRecordData.   This enables you to store very large pieces of data along with every record in your index. By using ixStoreMoreRecordData, in addition to ixStoreRecordData, you are not forced to have the entire record data in memory at one time.

Important Note: If you store data with one record, you must store data (of non-zero length) with every record.  Otherwise, ixRetrieveRecordData() will not work properly and you may not be able to get your data back.

SEE ALSO

ixCreateIndexEx, ixRetrieveRecordData, ixRetrieveMoreRecordData, ixStoreRecordData