searchInfo

지정된 속성 정의와 관련하여 Windows 검색 엔진을 구성하는 방법을 지정합니다. searchInfo 요소가 제공되지 않으면 속성이 Windows 검색 엔진에 포함되지 않습니다. 이 요소는 Windows 7에 대해 변경되었습니다.

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="512"/>
        <xs:attribute name="mnemonics" type="xs:string"/>                            
    </xs:complexType>
</xs:element>

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>

요소 정보

부모 요소 자식 요소
propertyDescription 없음

 

특성

attribute 설명
inInvertedIndex 공개. 선택 사항입니다. 속성 값을 반전된 인덱스로 저장할지 여부를 나타냅니다. 이렇게 하면 최종 사용자가 이 속성의 값에 대해 전체 텍스트 쿼리를 수행할 수 있습니다. 기본값은 "false"입니다.
isColumn 공개. 선택 사항입니다. ISV(독립 소프트웨어 공급업체)가 조건자 기반 쿼리를 만들 수 있도록 속성도 Windows 검색 데이터베이스에 열로 저장해야 하는지 여부를 나타냅니다(예: "Select * Where "System.Title"='qqq'"). 스키마 작성자가 최종 사용자(또는 개발자)가 속성에 대한 조건자 기반 쿼리를 만들 수 있도록 하려는 경우 이를 "true"로 설정해야 합니다. 기본값은 "false"입니다.
isColumnSparse 공개. 선택 사항입니다. 기본값은 "true"입니다. 속성이 다중 값이면 이 특성은 항상 "true"입니다.
columnIndexType 공개. 선택 사항입니다. 정렬 및 그룹화를 최적화하기 위해 Windows 검색 엔진은 isColumn="true"가 있는 속성에 대한 보조 인덱스를 만들 수 있습니다. 이 특성은 Windows Vista에서 inInvertedIndex가 "true"이거나 Windows 7에서 isColumn이 "true"인 경우에만 유용합니다. 속성이 사용자별로 자주 정렬되는 경향이 있는 경우 이 특성을 지정해야 합니다. Windows Vista의 기본값은 "NotIndexed"입니다. Windows 7의 기본값은 "OnDemand"입니다. 다음 값은 유효합니다.
  • NotIndexed: 값 인덱스를 작성하지 마세요.
  • OnDisk: 이 속성에 대해 기본적으로 값 인덱스 빌드
  • OnDiskAll (Windows 7 이상에만 해당): 이 속성에 대해 기본적으로 값 인덱스 빌드 및 벡터 속성인 경우 연결된 모든 벡터 값에 대한 값 인덱스도 작성합니다.
  • OnDiskVector (Windows 7 이상에만 해당): 연결된 벡터 값에 대해 기본적으로 값 인덱스 빌드
  • OnDemand (Windows 7 이상만 해당): 요청별 빌드 값 인덱스만, 즉 쿼리에 처음 사용되는 경우에만 빌드합니다.
Maxsize 공개. 선택 사항입니다. Windows 검색 데이터베이스에 저장된 특정 속성에 허용되는 최대 크기(바이트)입니다. 기본값은 다음과 같습니다.
  • Windows Vista: 128바이트
  • Windows 7 이상: 512바이트
이 최대 크기는 문자가 아닌 바이트로 측정됩니다. 최대 문자 수는 인코딩에 따라 달라집니다.
니모닉 Windows 7 이상 공개. 선택 사항입니다. 검색 쿼리에서 속성을 참조하는 데 사용할 수 있는 니모닉 값 목록입니다. 목록은 '|' 문자로 구분됩니다.