Click to Rate and Give Feedback
MSDN
MSDN Library
User Interface
Windows Shell
Shell Reference
Shell Schemas
 searchInfo
searchInfo
Specifies how to configure the Microsoft Windows search engine with respect to a given property definition. If no searchInfo element is provided, then the property is not included in the Windows search engine.

Syntax

<!-- searchInfo -->
<xs:element name="searchInfo">
    <xs:complexType>
        <xs:attribute name="inInvertedIndex"    type="xs:boolean" default="false"/>
        <xs:attribute name="isColumn"           type="xs:boolean" default="false"/>
        <xs:attribute name="isColumnSparse"     type="xs:boolean" default="true">
            <xs:annotation>
                <xs:documentation>
                    isColumnSparse: Default is true.  If the property is multi-valued, this is always true.
                </xs:documentation>
            </xs:annotation>
        </xs:attribute>
        
        <xs:attribute name="columnIndexType" default="NotIndexed">
            <xs:simpleType>
                <xs:restriction base="xs:string">
                    <xs:enumeration value="NotIndexed"/>
                    <xs:enumeration value="OnDisk"/>
                </xs:restriction>
            </xs:simpleType>
        </xs:attribute>
        <xs:attribute name="maxSize" type="xs:nonNegativeInteger" default="128"/>
    </xs:complexType>
</xs:element>

Element Information

Parent ElementChild Elements
propertyDescriptionNone

Attributes

AttributeDescription
inInvertedIndexPublic. Optional. Indicates whether the property value should be stored in the inverted index. This lets end users perform full-text queries over the values of this property. The default is "false".
isColumnPublic. Optional. Indicates whether the property should also be stored in the Windows search database as a column, so that independent software vendors (ISVs) can create predicate-based queries (for example, "Select * Where "System.Title"='qqq'"). If the schema creator wants to enable end users (or developers) to create predicate based queries on the properties, then this needs to be set to "true". The default is "false".
isColumnSparsePublic. Optional. The default is "true". If the property is multi-valued, this attribute is always "true".
columnIndexTypePublic. Optional. To optimize sorting and grouping, the Windows search engine can create secondary indexes for properties that have isColumn="true". If the property tends to be sorted frequently by users, this attribute should be specified. This attribute is only useful when isInvertedIndex="true". The default is "NotIndexed". The following values are valid.
  • NotIndexed: No secondary index is created.
  • OnDisk: Store the index on disk.
maxSizePublic. Optional. The max size allowed for a certain property that is stored in the Windows search database. The default is "128" (bytes).
Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2008 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker