Links
dtSearch Text Retrieval Engine Programmer's Reference
C++ API
Legend | Topics | Classes | Functions | Structs, Records, Enums | Types | Variables | Send Feedback

C++ API

Topics
Topic 
Description 
How to add the dtSearch Engine to a C++ project 
 
The following table lists classes in this documentation. 
The following table lists functions in this documentation. 
The following table lists structs, records, enums in this documentation. 
The following table lists types in this documentation. 
The following table lists variables in this documentation. 
Integrate an external language analyzer with the dtSearch Engine, to implement morphological analysis or word breaking. 
Implements synonym expansion in an external DLL. 
Use to add support for custom file formats to the dtSearch Engine 
Legend
 
Structure 
 
Method 
Classes
Class 
Description 
Used by dtsIndexJob to index non-file data that is passed to the indexer through callbacks. 
Used with dtsIndexJob and dtsSearchJob to record errors that occur during indexing or searching. 
Converts files to HTML, RTF, or text, optionally marking hits with caller-supplied tags. 
Contains a file modification or creation time. File dates are always reported as UTC time. 
Used to define a set of files to search or index 
An index cache keeps a pool of indexes open for faster searching 
Options to control the behavior of an index cache (dtsIndexCache
Status of an index cache (dtsIndexCache), obtained from dtsIndexCache.getStatus(). 
Describes an indexing task to be performed. 
Abstract interface to any source of document data. 
Provides a layer of abstraction around a dtsInputStream
Passed to dtssMergeIndexes to merge two more indexes together. 
dtsIndexVerifyJob is passed to dtssVerifyIndex, and is used to verify that an index is in good condition. 
List the contents of an index 
Information passed to the makeViewer2 callback function in dtsViewerInfo 
Status of a merge job in progress 
Sets dtSearch Engine indexing and searching option settings. 
Describes how you want a dtSearch search report to be generated. 
Provides information about how to recognize a particular file type. 
Used to efficiently limit the results of a search to a specified subset of one or more indexes. 
Define a search to be performed. 
Describes a search report to be prepared from some or all of the items in a dtsSearchResults set. 
Provides access to the results of a search. 
Properties of a single retrieved document from a search. 
Buffer to receive text extracted by a file parser. 
Status of an index verify job. 
Register an external file parser. See File Parser API 
Generates a list of words matching an expression, or surrounding a word in the index. 
Functions
Function 
Description 
An external file parser should call this function once at startup to register itself with the dtSearch Engine. 
Convert a file to HTML, RTF, or text, optionally highlighting hits 
Convert paths to local, virtual, or UNC 
Enable debug logging 
Delete an index 
Execute an index job 
Execute a search job: The search job to execute 
Get information about an index 
Retrieve current option settings 
Generates a stream of XML containing synonym information for the specified word. 
Install diagnostic handler for unhandled exceptions 
Delete an integer array represented by a dtsStringHandle 
Get the contents of an integer array represented by a dtsStringHandle 
Get the length of an array represented by a dtsIntArrayHandle 
List words, fields, or documents in an index 
Merge indexes 
Restore a previously-installed diagnostic handler that was overwritten by another component (such as a call to LoadLibrary that loads another DLL in the process) 
Remove diagnostic handler for unhandled exceptions (see dtsCrashHandlerInfo
Change option settings 
Free the memory allocated for a string that was returned as a dtsStringHandle 
Get the length of a string represented by a dtsStringHandle 
Convert UTF-8 to Unicode 
Get the text of a string represented by a dtsStringHandle 
Convert Unicode to UTF-8 
Verify indexes 
Get the dtSearch Engine version. See dtssVersionEx for more detailed information. 
Get the dtSearch Engine version 
Structs, Records, Enums
Struct, Record, Enum 
Description 
Stores information about a document that is contained in a container. 
Used by dtssConvertPath2 to convert among virtual, local, and UNC paths 
Used to install a crash handler so a stack trace can be recorded in the event of an unhandled exception 
To be returned from dtsDataSource.getNextDocInfo or dtsDataSource.getFileInfoByName from a data source 
Used to package basic information about a file that a file parser must provide. 
Contains information about a file being indexed. 
Holds information about an index supplied by dtssGetIndexInfo
Reported through the status notification callback in a dtsIndexJob 
Indicates whether the index is case-sensitive, accent-sensitive, or uses relative paths 
Specifies whether to create, add documents to, compress, or remove items from an index in a dtsIndexJob
In a dtsIndexJob, specifies whether the index to create should be case-sensitive, accent-sensitive, or use relative paths 
Information about a file being searched in an unindexed search. 
Describes action to perform in a dtsSearchJob 
Reported through the status notification callback in a dtsSearchJob, and the OnProgressUpdate virtual function callback in DSearchJob 
Information returned by dtssVersionEx, which returns the dtSearch Engine version 
Structure passed to dtsJobBase.pReportCallBack to implement status notification callbacks. The meaning of the arguments depends on the "command" value, which is documented in the dtsMessageCode enum. 
Used to modify words, or create additional words, as text is indexed. 
Base class for dtsSearchJob, dtsIndexJob, dtsFileConvertJob, etc. 
Types
Type 
Description 
Handle to an index cache 
Handle to an array of 32-bit integers 
Handle to a search filter 
Handle to a search results object 
Handle to a string 
Handle to a word list builder 
Variables
Variable 
Description 
Highest confidence level for file format recognition 
Maximum size of a search request 
Maximum allowed value for maxStoredFieldSize 
Maximum allowed value for maxWordsToRetrieve in dtsSearchJob and dtsOptions 
For string type names in dtsFileInfo struct and dtsViewerInfo 
Links
You are here: C++ API
Copyright (c) 1995-2008 dtSearch Corp. All rights reserved.