Edit

Share via


Indexing Service

Overview of the Indexing Service technology.

To develop Indexing Service, you need these headers:

For programming guidance for this technology, see:

Enumerations

 
CHUNK_BREAKTYPE

Describes the type of break that separates the current chunk from the previous chunk.
CHUNKSTATE

Specifies whether the current chunk is a text-type property or a value-type property.
DBCOMMANDOPENUM

The DBCOMMANDOPENUM enumerated type contains a list of the possible command operators for nodes in a command tree.
DBCOMMANDREUSEENUM

The DBCOMMANDREUSEENUM enumerated type specifies whether a state from the previous command is retained.
DBKINDENUM

The DBKINDENUM enumerated type specifies the combination of GUID, property number, or property name to use to identify a database object.
DBVALUEKINDENUM

The DBVALUEKINDENUM enumerated type is used to indicate the type of the union member inside a DBCOMMANDTREE structure.
IFILTER_FLAGS

Indicates whether the caller should use the IPropertySetStorage and IPropertyStorage interfaces to locate additional properties.
IFILTER_INIT

Flags that control the filtering process.
WORDREP_BREAK_TYPE

Describes the type of break that separates the current word from the previous word.

Functions

 
BindIFilterFromStorage

Retrieves the IFilter interface pointer for the specified storage object. This is especially useful when filtering the contents of a document and processing embedded OLE objects that are accessible through their IStorage interfaces.
BindIFilterFromStream

Retrieves the IFilter interface pointer for the specified storage object. This is especially useful when filtering the contents of a document and processing embedded OLE objects accessible through their IStream interfaces.
BindRegion

Retrieves an interface representing the specified portion of object. Currently reserved for future use.
FindErrorNodes

The ICommandTree::FindErrorNodes method traverses a command tree and returns an array of nodes with errors in them.
FreeCommandTree

The ICommandTree::FreeCommandTree method traverses a command tree and deallocates all DBCOMMANDTREE node structures, as well as all variants in those structures. It then sets the root pointer to a NULL pointer.
GetChunk

Positions the filter at the beginning of the next chunk, or at the first chunk if this is the first call to the GetChunk method, and returns a description of the current chunk.
GetCommandTree

The ICommandTree::GetCommandTree method echoes the current command as a tree, including all post-processing operations that have been added.
GetText

Retrieves text (text-type properties) from the current chunk, which must have a CHUNKSTATE enumeration value of CHUNK_TEXT.
GetValue

Retrieves a value (internal value-type property) from a chunk, which must have a CHUNKSTATE enumeration value of CHUNK_VALUE.
Init

Initializes a filtering session.
LoadIFilter

Retrieves IFilter from path name for object.
SetCatalogState

Sets the catalog state for backup or other purposes.
SetCommandTree

The ICommandTree::SetCommandTree method sets a command object's command tree, replacing the existing one or replacing a text command specified with the ICommandText interface.

Interfaces

 
ICommandTree

The ICommandTree interface is optional for providers that support commands. It contains methods for manipulating query trees. Providers that support command trees must also support specifying the same functionality through the ICommandText interface.
IFilter

Scans documents for text and properties (also called attributes).
IPhraseSink

Handles phrases that word breakers parse from query text during query time.
IQuery

The IQuery interface is reserved for future use.

Structures

 
CI_STATE

Represents the current state of an Indexing Service catalog.
CIPROPERTYDEF

Represents the friendly name, type, and property identifier (ID) information.
DBBYGUID

The DBBYGUID structure supplies supplementary information for a node.
DBCOMMANDTREE

The DBCOMMANDTREE structure is the primary data structure used to represent any node in an OLE DB command tree, as described in the Data Manipulation Operators and Data Definition Operators section of this reference.
DBCONTENT

The DBCONTENT structure represents specific information required by the DBOP_content operator.
DBCONTENTPROXIMITY

The DBCONTENTPROXIMITY structure represents specific information required by the DBOP_content_proximity operator.
DBCONTENTSCOPE

The DBCONTENTSCOPE structure is used to pass a scope argument in a command tree.
DBCONTENTTABLE

The DBCONTENTTABLE structure represents the machine and catalog names for a command tree.
DBCONTENTVECTOR

The DBCONTENTVECTOR structure represents specific information required by the DBOP_content_vector_or operator. (DBCONTENTVECTOR)
DBGROUPINFO

The DBCONTENTVECTOR structure represents specific information required by the DBOP_content_vector_or operator. (DBGROUPINFO)
DBID

The DBID structure encapsulates various ways of identifying a database object.
DBLIKE

The DBLIKE structure represents specific information required by the DBOP_like operator.
DBPARAMETER

The DBPARAMETER structure is used to define values for scalar parameters.
DBPROBABILISTIC

The DBPROBABILISTIC structure is reserved for future use.
DBRELEVANTDOCUMENT

The DBRELEVANTDOCUMENT structure is reserved for future use.
DBSETFUNC

The DBSETFUNC structure specifies the aggregation function to use in a select operation.
DBSORTINFO

The DBSORTINFO structure stores the order in which a column will be sorted (that is, ascending or descending). This information is stored inside a DBOP_sort_list_element node.
DBTEXT

The DBTEXT structure is used by the DBOP_text_command node.
FILTERREGION

Describes the position and extent of a specified portion of text within an object.
FULLPROPSPEC

Specifies a property set and a property within the property set.
STAT_CHUNK

Describes the characteristics of a chunk.