Click to Rate and Give Feedback
MSDN
MSDN Library
User Interface
Windows Shell
Shell Reference
Shell Schemas
 searchInfo

  Switch on low bandwidth view
searchInfo

[This documentation is preliminary and is subject to change.]

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. This element has changed for Windows 7.

Syntax for Windows 7

<!-- searchInfo for Windows 7-->
<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="OnDemand">
            <xs:simpleType>
                <xs:restriction base="xs:string">
                    <xs:enumeration value="NotIndexed"/>
                    <xs:enumeration value="OnDisk"/>
					<xs:enumeration value="OnDiskAll"/>
					<xs:enumeration value="OnDiskVector"/>
					<xs:enumeration value="OnDemand"/>
                </xs:restriction>
            </xs:simpleType>
        </xs:attribute>
        <xs:attribute name="maxSize" type="xs:nonNegativeInteger" default="128"/>
        <xs:attribute name="mnemonics" type="xs:string"/>                            
    </xs:complexType>
</xs:element>

Syntax for Windows Vista

<!-- searchInfo for Windows Vista-->
<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="OnDemand">
            <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". This attribute is only useful when inInvertedIndex is "true" in Windows Vista or when isColumn is "true" in Windows 7. If the property tends to be sorted frequently by users, this attribute should be specified. The default value in Windows Vista is "NotIndexed". The default value in Windows 7 is "OnDemand". The following values are valid.
  • NotIndexed
  • OnDisk
  • OnDiskAll (Windows 7 and later only)
  • OnDiskVector (Windows 7 and later only)
  • OnDemand (Windows 7 and later only)
maxSizePublic. Optional. The max size allowed for a certain property that is stored in the Windows search database. The default is "128" (bytes).
mnemonicsWindows 7 and later. Public. Optional. A list of mnemonic values that can be used to refer to the property in search queries. The list is delimited with the '|' character.
Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2009 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker