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

ixAppendDistributedDataToIndex

NAME

ixAppendDistributedDataToIndex -- Add a new partition to the index.

SYNOPSIS

void ixAppendDistributedDataToIndex(OnixIndexManagerT IndexManager, OnixFileSpecT FileName, StatusCodeT *Status);

ARGUMENTS

IndexManager -- An index manager with read/write access which also has an opened distributed index.

FileName  -- The filename of the partitions data.

Status -- A pointer to a value of type StatusCodeT.  If an error occurs, it will be reported in *Status.

RETURNS

Nothing.

DESCRIPTION

If you are using Onix's distributed indexing feature to divide up the indexing workload among multiple processes, threads, or machines, you can use ixAppendDistributedDataToIndex() to add an index partition which was generated during a distributed indexing session (started by ixStartDistributedIndexingSession() to a currently opened index.

If you are accessing the index through multiple index managers then you need to make sure that you call this function using the index manager which has read/write access. (This is the first index manager to open an index.)

After this function call is made, the index data specified by FileName becomes part of the index. Any further changes to the partition (such as changing the partitions physical disk location) will need to be reconciled with the index using the current API (such as a call to ixChangePartitionLocation).

 

SEE ALSO

ixStartDistributedIndexingSession, ixEndDistributedIndexingSession