ixSetBaseDistributedIndexDirectory
Name
ixSetBaseDistributedIndexDirectory
Synopsis
void ixSetBaseDistributedIndexDirectory( OnixIndexManagerT IndexManager, OnixFileSpecT DirectoryName, StatusCodeT *Status)
Arguments
IndexManager: An index manager as returned from ixCreateIndexManager.
DirectoryName: The directory to set as the distributed index base.
Status: A pointer to a value of type StatusCodeT representing any error conditions.
Returns
Nothing
If an error occurred, Status will be set to the error number.
Description
To create a distributed index there must be a master index that keeps track of each of the distributed indexes. A distributed index is basically this master index and then sub-indexes which can be found on different servers or volumes.
Use ixSetBaseDistributedIndexDirectory to specify a directory where Onix will create the files used to keep track of the distributed index. This directory will contain the master index for the distributed index under the name of the index.
Note that you must call ixSetBaseDistributedIndexDirectory beforecalling ixOpenIndex.
See Also
Distributed Indexes
ixSetFinalIndexDataFileNameAndPosition, ixOpenIndex