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

MULTIFILE INDEX MANAGEMENT ROUTINES



If you are using a distributed index, Onix provides a number of routines which will allow you to directly manipulate the partitions that comprise the index. You can change the location of the partition files with the functions ixChangePartitionLocation and ixWritePartitionLocation. If care is taken, the ability to directly manipulate the locations and loading of the various partitions can be very powerful. For example, with a web crawler / search engine, you could rebuild portions of the index and using these functions bring them online replacing older sections of index as new index partitions become available.

Be sure to close any index managers which are accessing the index and reopen them again when you make any changes to the location of the files that comprise the index -- especially before you do something like move or delete the file(s) in their old locations. Doing this will help ensure you do not end up with index managers referring to files which are not consistent with the current index.

 

SEE ALSO

ixChangePartitionLocation, ixWritePartitionLocation