File
File: dtsfc.h
Namespace: dtSearch
Syntax
Data Members
Data Member |
Description |
---|---|
Additional boolean conditions that a document must meet to be retrieved in a search. See Search Requests for information on search request syntax. | |
Filename filters specifying folders to be excluded from an unindexed search. | |
Specify a relevance weight for hits that occur in listed fields (example: Subject:10,HtmlTitle:20) | |
File conditions that a document must meet to be retrieved in a search. See Search Requests for information on search request syntax. | |
The FoldersToSearch, IncludeFilters, and ExcludeFilters specify files to be searched in an unindexed search. | |
In an unindexed search, the directories or files to search. | |
One or more indexes to be searched. For each index, provide the full path to the index folder. | |
If set to a filename, each file retrieved in the search will be written to this file. If the dtsSearchDelayDocInfo flag is set, the list will be built from the best-matching files after the search is done, sorted by relevance, and will contain at most MaxFiles items. Otherwise, the list will include all files retrieved in the search, in the order they were found. | |
What you want to search for. See Search Requests for for information on search request syntax. |
Group
Members
Methods
Show:
No members matching the current filter
Method |
Description |
---|---|
Add a folder to the FoldersToSearch list. Append <+> to the folder name to specify that subfolders should also be searched. | |
Add a folder to the FoldersToSearch list. Append <+> to the folder name to specify that subfolders should also be searched. | |
Add an index to the IndexesToSearch list. | |
Add an index to the IndexesToSearch list. | |
Attach a data source to the search job to be searched as part of an unindexed search. | |
Requests termination of the job in progress. For indexing jobs, the job will be halted after information in documents already indexed is saved in the index. (Inherited from DJobBase) | |
Requests immediate termination of the job in progress. Indexing jobs will be halted without saving anything in the index. (Inherited from DJobBase) | |
Requests immediate termination of the job in progress. Indexing jobs will be halted without saving anything in the index. The reason parameter is purely for diagnostic purposes. (Inherited from DJobBase) | |
Requests termination of the job in progress. For indexing jobs, the job will be halted after information in documents already indexed is saved in the index. The reason parameter is purely for diagnostic purposes. (Inherited from DJobBase) | |
Resets the job to default values. | |
Clear all search flags in the SearchJob | |
Copy the output search filter and return it. | |
Constructor | |
Detach the output search filter and return it. | |
Detach and return the search results generated by this search. | |
Called to execute a job. (Inherited from DJobBase) | |
Execute the search. | |
Returns non-zero if the job failed (Inherited from DJobBase) | |
Format all errors that occurred during execution as a single string, with line breaks separating the errors (Inherited from DJobBase) | |
Returns the number of errors recorded during execution (Inherited from DJobBase) | |
Returns a dtsErrorInfo with any errors that occurred during execution (Inherited from DJobBase) | |
Returns the level of fuzziness in this search | |
Returns the maximum files this search can retrieve. | |
Return the search results generated by this search. | |
Get the value of a single search flag | |
Get all SearchFlags that were set for this search job. | |
Access the dtsSearchJob struct that DSearchJob wraps. | |
Returns the total number of files that were retrieved in this search. If maxFilesToRetrieve was set, the value returned by GetTotalFiles may exceed the number of items in search results. | |
Returns the total number of hits in all files retrieved in this search. | |
Returns true if the job has been cancelled (Inherited from DJobBase) | |
Returns true if the job has started and is not yet done. (Inherited from DJobBase) | |
Called while a job is executing every time the dtSearch Engine checks to see if the job has been cancelled. (Inherited from DJobBase) | |
Called while a job is executing if an error is encountered, with the error code and message. (Inherited from DJobBase) | |
Each time a document is retrieved, this function will be called. | |
| |
Called to update the status of a SearchJob | |
Not used (Inherited from DJobBase) | |
Called when an unindexed search begins searching a file. | |
This function will be called each time an index is searched. If several indexes are listed in IndexesToSearch, this function will be called once for each index. | |
Request that a search automatically halt after more than a specified number of files have been retrieved | |
Set up search to use an index cache | |
Changes the score associated with an item in search results. | |
After a search, DSearchJob will return a DSearchResults object that contains up to this many files. If more files were retrieved than the MaxFilesToRetrieve value, only the best-matching files will be returned. | |
Apply a search filter to the search that can be used to exclude or permit specified documents to be returned in search results. See: dtsSearchFilter. | |
Set one of the SearchFlags values for this search. | |
Set all SearchFlags values for this search. | |
SetTimeout() causes a job to cancel automatically after the specified number of seconds (Inherited from DJobBase) | |
Set UnindexedSearchFlags for this search | |
Request a search filter containing the results of this search (see dtsSearchFilter) | |
Do not pump waiting windows messages during callbacks (Inherited from DJobBase) | |
Prevents a found document from being included in search results. | |
Optional reason for job cancellation, purely for diagnostic purposes Checks to make sure the reason is not already present, and also guards against excessive string size in case of repetitive cancellations. (Inherited from DJobBase) | |
Write an error message to the error handler object attached to this job (Inherited from DJobBase) |
Data Members
Data Member |
Description |
---|---|
Additional boolean conditions that a document must meet to be retrieved in a search. See Search Requests for information on search request syntax. | |
Filename filters specifying folders to be excluded from an unindexed search. | |
Specify a relevance weight for hits that occur in listed fields (example: Subject:10,HtmlTitle:20) | |
File conditions that a document must meet to be retrieved in a search. See Search Requests for information on search request syntax. | |
The FoldersToSearch, IncludeFilters, and ExcludeFilters specify files to be searched in an unindexed search. | |
In an unindexed search, the directories or files to search. | |
One or more indexes to be searched. For each index, provide the full path to the index folder. | |
If set to a filename, each file retrieved in the search will be written to this file. If the dtsSearchDelayDocInfo flag is set, the list will be built from the best-matching files after the search is done, sorted by relevance, and will contain at most MaxFiles items. Otherwise, the list will include all files retrieved in the search, in the order they were found. | |
What you want to search for. See Search Requests for for information on search request syntax. |
Methods
Show:
No members matching the current filter
Method |
Description |
---|---|
Add a folder to the FoldersToSearch list. Append <+> to the folder name to specify that subfolders should also be searched. | |
Add a folder to the FoldersToSearch list. Append <+> to the folder name to specify that subfolders should also be searched. | |
Add an index to the IndexesToSearch list. | |
Add an index to the IndexesToSearch list. | |
Attach a data source to the search job to be searched as part of an unindexed search. | |
Requests termination of the job in progress. For indexing jobs, the job will be halted after information in documents already indexed is saved in the index. (Inherited from DJobBase) | |
Requests immediate termination of the job in progress. Indexing jobs will be halted without saving anything in the index. (Inherited from DJobBase) | |
Requests immediate termination of the job in progress. Indexing jobs will be halted without saving anything in the index. The reason parameter is purely for diagnostic purposes. (Inherited from DJobBase) | |
Requests termination of the job in progress. For indexing jobs, the job will be halted after information in documents already indexed is saved in the index. The reason parameter is purely for diagnostic purposes. (Inherited from DJobBase) | |
Resets the job to default values. | |
Clear all search flags in the SearchJob | |
Copy the output search filter and return it. | |
Constructor | |
Detach the output search filter and return it. | |
Detach and return the search results generated by this search. | |
Called to execute a job. (Inherited from DJobBase) | |
Execute the search. | |
Returns non-zero if the job failed (Inherited from DJobBase) | |
Format all errors that occurred during execution as a single string, with line breaks separating the errors (Inherited from DJobBase) | |
Returns the number of errors recorded during execution (Inherited from DJobBase) | |
Returns a dtsErrorInfo with any errors that occurred during execution (Inherited from DJobBase) | |
Returns the level of fuzziness in this search | |
Returns the maximum files this search can retrieve. | |
Return the search results generated by this search. | |
Get the value of a single search flag | |
Get all SearchFlags that were set for this search job. | |
Access the dtsSearchJob struct that DSearchJob wraps. | |
Returns the total number of files that were retrieved in this search. If maxFilesToRetrieve was set, the value returned by GetTotalFiles may exceed the number of items in search results. | |
Returns the total number of hits in all files retrieved in this search. | |
Returns true if the job has been cancelled (Inherited from DJobBase) | |
Returns true if the job has started and is not yet done. (Inherited from DJobBase) | |
Called while a job is executing every time the dtSearch Engine checks to see if the job has been cancelled. (Inherited from DJobBase) | |
Called while a job is executing if an error is encountered, with the error code and message. (Inherited from DJobBase) | |
Each time a document is retrieved, this function will be called. | |
| |
Called to update the status of a SearchJob | |
Not used (Inherited from DJobBase) | |
Called when an unindexed search begins searching a file. | |
This function will be called each time an index is searched. If several indexes are listed in IndexesToSearch, this function will be called once for each index. | |
Request that a search automatically halt after more than a specified number of files have been retrieved | |
Set up search to use an index cache | |
Changes the score associated with an item in search results. | |
After a search, DSearchJob will return a DSearchResults object that contains up to this many files. If more files were retrieved than the MaxFilesToRetrieve value, only the best-matching files will be returned. | |
Apply a search filter to the search that can be used to exclude or permit specified documents to be returned in search results. See: dtsSearchFilter. | |
Set one of the SearchFlags values for this search. | |
Set all SearchFlags values for this search. | |
SetTimeout() causes a job to cancel automatically after the specified number of seconds (Inherited from DJobBase) | |
Set UnindexedSearchFlags for this search | |
Request a search filter containing the results of this search (see dtsSearchFilter) | |
Do not pump waiting windows messages during callbacks (Inherited from DJobBase) | |
Prevents a found document from being included in search results. | |
Optional reason for job cancellation, purely for diagnostic purposes Checks to make sure the reason is not already present, and also guards against excessive string size in case of repetitive cancellations. (Inherited from DJobBase) | |
Write an error message to the error handler object attached to this job (Inherited from DJobBase) |
Description
Class wrapper around dtsSearchJob; provides access to a simplified version of the searching interface.
Class Hierarchy
dtSearch::DJobBase
|
dtSearch::DSearchJob