Close
dtSearch Engine API for .NET Framework 2.x-4.x 2023.02
dtSearch::Engine::ErrorCodes Enumeration
public enum ErrorCodes { dtsErOK = 0, dtsErAccIndex = 1, dtsAskDiskFullOverride = 2, dtsErOpenTemp = 3, dtsInfNoFilesToIndex = 4, dtsErIxWrongVersion = 5, dtsErIxInterrupted = 6, dtsErAccDirectory = 7, dtsErWorkDirFail = 8, dtsErAccFile = 9, dtsErFileCorrupt = 10, dtsErIndexFull = 11, dtsErPdfLzwNotLicensed = 12, dtsErTimeout = 13, dtsErCreateFailed = 14, dtsErCommitFailed = 15, dtsErFileNotFound = 16, dtsErFileEncrypted = 17, dtsErApiError = 18, dtsErDataSourceException = 19, dtsErBlankFilename = 20, dtsErFileEmpty = 21, dtsErInvalidHandle = 22, dtsErConflictingDocIdRanges = 23, dtsErLowMemory = 112, dtsErBadRequest = 116, dtsErSearchRequestEmpty = 117, dtsErSearchLimitReached = 120, dtsErNoFilesRetrieved = 122, dtsErRequestTooLong = 135, dtsErMaxWords = 137, dtsErWrFile = 143, dtsErDiskFull = 159, dtsErIxCorrupt = 162, dtsErAccessDenied = 177, dtsErOperationCancelled = 178, dtsErConnectFailed = 201, dtsErAccCachedDoc = 202, dtsErIndexingError = 203, dtsErOutOfMemory = 204, dtsErUnknownException = 205, dtsErContainerItemCorrupt = 206, dtsErContainerItemEncrypted = 207, dtsErContainerFormatUnsupported = 208, dtsErMergeIndexesNotCompatible = 209, dtsErIcuNotInitialized = 210, dtsErCmapFilesMissing = 211, dtsErStemmingRulesMissing = 212, dtsErAlphabetFileMissing = 213, dtsErWordNetMissing = 214, dtsErUserThesaurusMissing = 215, dtsErTextFieldTableMissing = 216, dtsErFileTypeTableFileMissing = 217, dtsErSegmentationRulesFileMissing = 218, dtsErNoiseWordFileMissing = 219, dtsErDtvPdfCryptoLibraryMissing = 220, dtsErDtvRarLibraryMissing = 221 }
Members
Description
dtsErOK
No error
dtsErAccIndex
Unable to access index
dtsAskDiskFullOverride
If IndexingFlags.dtsCheckDiskSpace was set in an IndexJob, and if it appears that disk space is insufficient, then dtsAskDiskFullOverride will be sent to the error handler; the calling program should always allow the update to be cancelled in this case (the default action).
dtsErOpenTemp
Unable to open temporary file.
dtsInfNoFilesToIndex
Obsolete; no longer used.
dtsErIxWrongVersion
Index built by incompatible version of dtSearch
dtsErIxInterrupted
Obsolete; no longer used.
dtsErAccDirectory
Unable to create or access directory
dtsErWorkDirFail
Private directory is already locked
dtsErAccFile
Unable to access input file
dtsErFileCorrupt
File format error reading input file
dtsErIndexFull
Index is full
dtsErPdfLzwNotLicensed
Obsolete; no longer used.
dtsErTimeout
Operation timed out (trigged by timeoutSeconds)
dtsErCreateFailed
Unable to create index
dtsErCommitFailed
Unable to commit changes to index
dtsErFileNotFound
The document was not found in the index (returned when a document listed to be removed from an index is not found in the index)
dtsErFileEncrypted
The document could not be accessed due to encryption
dtsErApiError
Incorrectly configured API structure (for example, invalid dtSearchJob)
dtsErDataSourceException
Exception thrown by data source
dtsErBlankFilename
Filename is blank
dtsErFileEmpty
File contains no data
dtsErInvalidHandle
A handle passed to a dtSearch API function was invalid
dtsErConflictingDocIdRanges
In an index merge, the flag dtsIndexKeepExistingDocIds was set and one or more indexes had overlapping doc id ranges
dtsErLowMemory
Search halted due to low memory available
dtsErBadRequest
Syntax error in search request
dtsErSearchRequestEmpty
Search request is blank
dtsErSearchLimitReached
Search halted because the autoStopLimit for the search job was reached
dtsErNoFilesRetrieved
No files retrieved in search
dtsErRequestTooLong
Search request was longer than dtsMaxSearchRequestLen
dtsErMaxWords
Too many words retrieved in index
dtsErWrFile
Unable to write output file
dtsErDiskFull
Disk full -- indexing halted
dtsErIxCorrupt
Index is corrupt
dtsErAccessDenied
Access to the index was denied
dtsErOperationCancelled
The operation was cancelled by the caller
dtsErConnectFailed
Unable to connect to data source during indexing
dtsErAccCachedDoc
Unable to access cached document in index
dtsErIndexingError
Index update could not complete due to an error accessing the index
dtsErOutOfMemory
An out-of-memory error occurred
dtsErUnknownException
An unexpected exception occurred
dtsErContainerItemCorrupt
An item stored inside a container format could not be extracted due to data corruption
dtsErContainerItemEncrypted
An item stored inside a container format could not be extracted due to encryption
dtsErContainerFormatUnsupported
A container could be be processed due to an unsupported file format
dtsErMergeIndexesNotCompatible
One or more input indexes for a merge are not compatible with the target index (use IndexJob.CreateCompatibleIndexPath to create indexes that will be compatible with a target index for merging).
dtsErIcuNotInitialized
The ICU library could not be loaded. Returned by Options.CheckConfiguration or dtssCheckConfiguration.
dtsErCmapFilesMissing
CMAP files needed to process some PDF files are missing. Returned by Options.CheckConfiguration or dtssCheckConfiguration.
dtsErStemmingRulesMissing
Options.StemmingRulesFile could not be read. Returned by Options.CheckConfiguration or dtssCheckConfiguration.
dtsErAlphabetFileMissing
Options.AlphabetFile could not be read. Returned by Options.CheckConfiguration or dtssCheckConfiguration.
dtsErWordNetMissing
The WordNet synonym database could not be opened. Returned by Options.CheckConfiguration or dtssCheckConfiguration.
dtsErUserThesaurusMissing
Options.UserThesaurusFile could not be read. Returned by Options.CheckConfiguration or dtssCheckConfiguration.
dtsErTextFieldTableMissing
Options.TextFieldsFile could not be read. Returned by Options.CheckConfiguration or dtssCheckConfiguration.
dtsErFileTypeTableFileMissing
Options.FileTypeTableFile could not be read. Returned by Options.CheckConfiguration or dtssCheckConfiguration.
dtsErSegmentationRulesFileMissing
Options.SegmentationRulesFile could not be read. Returned by Options.CheckConfiguration or dtssCheckConfiguration.
dtsErNoiseWordFileMissing
Options.NoiseWordFile could not be read. Returned by Options.CheckConfiguration or dtssCheckConfiguration.
dtsErDtvPdfCryptoLibraryMissing
The crypto-enabled PDF file parser could not be loaded. Returned by Options.CheckConfiguration or dtssCheckConfiguration.
dtsErDtvRarLibraryMissing
The Rar file parser could not be loaded. Returned by Options.CheckConfiguration or dtssCheckConfiguration.

Error codes are returned after a job completes. In the C++ API, use the dtsErrorInfo attached to a job to access error codes. In .NET, use the Errors property of the job. In Java, use getErrors().