Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Register binary attribute in collection.xconf.xsd #5436

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 29 additions & 0 deletions schema/collection.xconf.xsd
Original file line number Diff line number Diff line change
Expand Up @@ -183,6 +183,7 @@
<xs:attributeGroup ref="cc:typeOpt"/>
<xs:attributeGroup ref="cc:analyzerOpt"/>
<xs:attributeGroup ref="cc:storeOpt"/>
<xs:attributeGroup ref="cc:binaryOpt"/>
</xs:complexType>

<xs:complexType name="matchAttrBoostType">
Expand Down Expand Up @@ -288,6 +289,34 @@
<xs:attributeGroup name="attributeReq">
<xs:attribute name="attribute" type="xs:NCName" use="required"/>
</xs:attributeGroup>
<xs:attributeGroup name="binaryOpt">
<xs:attribute name="binary" use="optional">
<xs:simpleType>
<xs:restriction base="xs:token">
<xs:enumeration value="yes">
<xs:annotation>
<xs:documentation>Index as a binary field</xs:documentation>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="true">
<xs:annotation>
<xs:documentation>Index as a binary field</xs:documentation>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="no">
<xs:annotation>
<xs:documentation>Do not index as a binary field</xs:documentation>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="false">
<xs:annotation>
<xs:documentation>Do not index as a binary field</xs:documentation>
</xs:annotation>
</xs:enumeration>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
</xs:attributeGroup>
<xs:attributeGroup name="boostOpt">
<xs:attribute name="boost" type="xs:double" use="optional" form="unqualified"/>
</xs:attributeGroup>
Expand Down
Loading