Passed to dtssMergeIndexes to merge two more indexes together.
File
File: dtsearch.h
Syntax
C++
struct dtsIndexMergeJob : public dtsJobBase {
const char * indexesToMerge;
long iTargetIndex;
long fAllowConcurrentAccess;
long fClearTarget;
long result;
long mergeFlags;
};
Data Members
Data Member |
Description |
---|---|
Obsolete. Concurrent access is always enabled for the target index, unless fClearTarget is true. | |
Set to true if you want the target index to be deleted before the merge begins. If false, information from the other indexes will be appended to what is already in the index. | |
0-based index that indicates which of the indexes in the indexesToMerge list should be the "target" of the merge (that is, the index that will receive the information from the other indexes). | |
A null-delimited string set containing a list of the indexes to be merged (for each index, the full path to the index should be listed). | |
IndexingFlags specifying how the merge should be performed. | |
On return, result is 0 if the operation completed successfully and non-zero if an error occurred. |
Group
Members
Data Members
Data Member |
Description |
---|---|
Obsolete. Concurrent access is always enabled for the target index, unless fClearTarget is true. | |
Set to true if you want the target index to be deleted before the merge begins. If false, information from the other indexes will be appended to what is already in the index. | |
0-based index that indicates which of the indexes in the indexesToMerge list should be the "target" of the merge (that is, the index that will receive the information from the other indexes). | |
A null-delimited string set containing a list of the indexes to be merged (for each index, the full path to the index should be listed). | |
IndexingFlags specifying how the merge should be performed. | |
On return, result is 0 if the operation completed successfully and non-zero if an error occurred. |
Methods
Method |
Description |
---|---|
Constructor |
Methods
Method |
Description |
---|---|
Constructor |
Remarks
Merging combines two or more indexes into a single target index. The resulting index will contain any documents that were present in any of the input indexes.