Skip to content

Commit

Permalink
magento/magento2-jp/issues/18 : Provide possibility to customize anal…
Browse files Browse the repository at this point in the history
…yzer/tokenyzer for Elasticsearch

 - Soften requirements to allow partial schema declaration for overriding
  • Loading branch information
Volodymyr Kublytskyi committed Aug 9, 2018
1 parent 666e69a commit 754195c
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions app/code/Magento/Elasticsearch/etc/esconfig.xsd
Original file line number Diff line number Diff line change
Expand Up @@ -43,19 +43,19 @@
</xs:complexType>
<xs:complexType name="tokenizerType">
<xs:sequence>
<xs:element name="type" type="xs:string"/>
<xs:element name="type" type="xs:string" minOccurs="0"/>
<xs:any processContents="lax" minOccurs="0" maxOccurs="unbounded" />
</xs:sequence>
</xs:complexType>

<xs:complexType name="filterChoiceType" mixed="true">
<xs:choice maxOccurs="unbounded" minOccurs="1">
<xs:element type="filterContainerType" name="default" minOccurs="1" maxOccurs="1" />
<xs:choice maxOccurs="unbounded">
<xs:element type="filterContainerType" name="default" minOccurs="0" />
<xs:any processContents="lax" minOccurs="0" maxOccurs="unbounded" />
</xs:choice>
</xs:complexType>
<xs:complexType name="filterContainerType" mixed="true">
<xs:choice maxOccurs="unbounded" minOccurs="1">
<xs:choice maxOccurs="unbounded">
<xs:any processContents="lax" minOccurs="0" maxOccurs="unbounded" />
</xs:choice>
</xs:complexType>
Expand All @@ -77,7 +77,7 @@
<xs:complexContent>
<xs:extension base="filterType">
<xs:sequence>
<xs:element name="type" type="xs:string"/>
<xs:element name="type" type="xs:string" minOccurs="0"/>
<xs:any processContents="lax" minOccurs="0" maxOccurs="unbounded" />
</xs:sequence>
</xs:extension>
Expand Down

0 comments on commit 754195c

Please sign in to comment.