Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

DBPROPSET_QUERYEXT

Note  Indexing Service is no longer supported as of Windows XP and is unavailable for use as of Windows 8. Instead, use Windows Search for client side search and Microsoft Search Server Express for server side search.

The DBPROPSET_QUERYEXT property set contains several settings that give you control over the way Indexing Service satisfies a query.

#define DBPROPSET_QUERYEXT \
    { 0xA7AC77ED, 0xF8D7, 0x11CE, \
        { 0xA7, 0x98, 0x00, 0x20, 0xF8, 0x00, 0x80, 0x25 } }

Remarks

The DBPROPSET_QUERYEXT property set contains the following property constants.

DBPROP_USECONTENTINDEX

Property ID 2. When this value is TRUE, all queries use the content index to resolve queries, even if the index is out of date (when there are files waiting to be indexed). This avoids the time-consuming enumeration of all files in a catalog's scopes to resolve the query. It is for use when your application can tolerate resolution of queries using the current state of the index.

DBPROP_DEFERNONINDEXEDTRIMMING

Property ID 3. When this value is TRUE, Indexing Service first collects the maximum number of hits allowed for a query and then eliminates hits that don't meet the scope or security requirements. This can result in fewer-than-expected hits but better performance.

DBPROP_USEEXTENDEDDBTYPES

Property ID 4. When this value is TRUE, data returned is in PROPVARIANT structures instead of the default automation VARIANT types. This is useful in improving performance because it obviates the need for type conversions. It is unique to OLE DB Provider for Indexing Service.

Related topics

OLE DB Provider for Indexing Service
PROPVARIANT

 

 

Build date: 9/10/2012

Community Additions

ADD
Show:
© 2015 Microsoft