MessageCodes are sent to callback functions during an index or search to update the caller on the status of the job.
API
C++
Sent through dtsJobBase.pReportCallBack. See dtsMessage for documentation on structures passed to the callback.
.NET
Sent through IIndexStatusHandler and ISearchStatusHandler
Java
Sent through IIndexStatusHandler
File
File: MessageCode.java
Package: com.dtsearch.engine
Syntax
Fields
Field |
Description |
---|---|
Sent when an automatic index commit is starting (automatic commits are triggered by autoCommitIntervalMB). | |
Sent when an automatic index commit is complete (automatic commits are triggered by autoCommitIntervalMB). | |
Asks the calling application to give the user a chance to abort (i.e., check if the user has pressed a "cancel" button) | |
Status notification messages (searching), prefix = dtsnSearch | |
Obsolete | |
Sent at the start of an indexing job. | |
First message sent from an indexing thread | |
Sent as dtSearch is checking files to see if they need to be indexed. | |
Sent to update compression progress. | |
Sent when an index is being created. | |
Sent when a file is removed from the index because it appears to have been deleted | |
Sent at the end of an indexing job. | |
Last message sent from an indexing thread | |
Sent when a file is not indexed because (1) it seems to be binary, and (2) indexing of binary files is turned off. | |
Sent when a file has been completely read. | |
Sent when a file is not indexed because it is encrypted. | |
Sent when an attempt to open a file fails. | |
Indicates that a file was indexed but that part of the file could not be accessed due to data corruption. | |
Indicates that a file was indexed but that part of the file could not be accessed due to encryption. | |
Sent when starting to index a file, periodically as the file is indexed, and when the file is done. | |
Sent when a folder could not be accessed to scan for documents to index | |
Sent when a file is NOT removed from the index, although it was listed in the IndexJob to be removed, because it was not found in the index | |
Sent when a file is removed from the index because it was listed in the IndexJob to be removed | |
Sent during a merge | |
Sent to update the status of an index update during the "merging words" step. | |
Sent when dtSearch is starting to index a file. | |
Sent when an index update begins | |
Sent when words are being written to disk for merging. | |
As dtSearch checks the list of files to be indexed, this message will be sent updating the amount of text to be indexed. | |
Sent during verification of an index. | |
Last message sent during execution of an index or search job. | |
Sent at the beginning of a search | |
Sent at the end of a search | |
Sent during an unindexed search when the input document is unreadable due to corruption. | |
Sent during an unindexed search when the input document is encrypted. | |
Sent when a file is retrieved in a search. | |
Sent during a search periodically to update elapsed time display. | |
Sent during a search to indicate what is being searched. |
Class Hierarchy
com.dtsearch.engine.MessageCode