Skip to content

Commit 2e5102a

Browse files
committed
[bugfix] register binary attribute in xconf schema
1 parent 51e1663 commit 2e5102a

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

schema/collection.xconf.xsd

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -183,6 +183,7 @@
183183
<xs:attributeGroup ref="cc:typeOpt"/>
184184
<xs:attributeGroup ref="cc:analyzerOpt"/>
185185
<xs:attributeGroup ref="cc:storeOpt"/>
186+
<xs:attributeGroup ref="cc:binaryOpt"/>
186187
</xs:complexType>
187188

188189
<xs:complexType name="matchAttrBoostType">
@@ -288,6 +289,24 @@
288289
<xs:attributeGroup name="attributeReq">
289290
<xs:attribute name="attribute" type="xs:NCName" use="required"/>
290291
</xs:attributeGroup>
292+
<xs:attributeGroup name="binaryOpt">
293+
<xs:attribute name="binary" use="optional">
294+
<xs:simpleType>
295+
<xs:restriction base="xs:token">
296+
<xs:enumeration value="yes">
297+
<xs:annotation>
298+
<xs:documentation>Index as a binary field</xs:documentation>
299+
</xs:annotation>
300+
</xs:enumeration>
301+
<xs:enumeration value="no">
302+
<xs:annotation>
303+
<xs:documentation>Do not index as a binary field</xs:documentation>
304+
</xs:annotation>
305+
</xs:enumeration>
306+
</xs:restriction>
307+
</xs:simpleType>
308+
</xs:attribute>
309+
</xs:attributeGroup>
291310
<xs:attributeGroup name="boostOpt">
292311
<xs:attribute name="boost" type="xs:double" use="optional" form="unqualified"/>
293312
</xs:attributeGroup>

0 commit comments

Comments
 (0)