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
Attributes
| Attribute | Description |
|---|
| inInvertedIndex | Public. 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". |
| isColumn | Public. 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". |
| isColumnSparse | Public. Optional. The default is "true". If the property is multi-valued, this attribute is always "true". |
| columnIndexType | Public. 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.
|
| maxSize | Public. Optional. The max size allowed for a certain property that is stored in the Windows search database. The default is "128" (bytes). |