|
| 1 | +<?xml version="1.0"?> |
| 2 | +<!-- |
| 3 | +/** |
| 4 | + * This file contains errors that will fail schema validation. |
| 5 | + * |
| 6 | + * Copyright © 2015 Magento. All rights reserved. |
| 7 | + * See COPYING.txt for license details. |
| 8 | + */ |
| 9 | +--> |
| 10 | +<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../../../../../../../../../app/code/Magento/Indexer/etc/indexer.xsd"> |
| 11 | + <indexer id="indexer_0" view_id="catalogsearch_fulltext" class="NotAClass"> |
| 12 | + <title translate="true">Test Indexer Declaration</title> |
| 13 | + <description translate="true">Invalid class attribute value</description> |
| 14 | + </indexer> |
| 15 | + <indexer id="indexer_0" view_id="catalogsearch_fulltext" class="Magento\CatalogSearch\Model\Indexer\Fulltext"> |
| 16 | + <title translate="true">Test Indexer Declaration</title> |
| 17 | + <description translate="true">Duplicate indexer id</description> |
| 18 | + </indexer> |
| 19 | + <indexer id="indexer_10" view_id="catalogsearch_fulltext_10" class="Magento\CatalogSearch\Model\Indexer\Fulltext"> |
| 20 | + <title translate="true">Test Indexer Declaration</title> |
| 21 | + <description translate="true">Duplicate 'view_id' in indexer declaration</description> |
| 22 | + </indexer> |
| 23 | + <indexer id="indexer_11" view_id="catalogsearch_fulltext_11" class="Magento\CatalogSearch\Model\Indexer\Fulltext"> |
| 24 | + <title translate="true">Test Indexer Declaration</title> |
| 25 | + <description translate="true">Empty fields</description> |
| 26 | + <fields handler="Magento\Framework\Search\Index\Fields\Handler"/> |
| 27 | + </indexer> |
| 28 | + <indexer id="indexer_1" view_id="catalogsearch_fulltext_1" class="Magento\CatalogSearch\Model\Indexer\Fulltext"> |
| 29 | + <title translate="true">Test Indexer Declaration</title> |
| 30 | + <description translate="true">Invalid handler attribute value</description> |
| 31 | + <fields handler="field_handler"> |
| 32 | + <field name="visibility" origin="table_name.field_name" handler="Magento\Framework\Search\Index\Field\Handler\Class" xsi:type="filter" dataType="int" /> |
| 33 | + </fields> |
| 34 | + </indexer> |
| 35 | + <indexer id="indexer_2" view_id="catalogsearch_fulltext_2" class="Magento\CatalogSearch\Model\Indexer\Fulltext"> |
| 36 | + <title translate="true">Test Indexer Declaration</title> |
| 37 | + <description translate="true">Duplicate field declaration</description> |
| 38 | + <fields handler="Magento\Framework\Search\Index\Fields\Handler"> |
| 39 | + <field name="visibility" origin="table_name.field_name" handler="Magento\Framework\Search\Index\Field\Handler\Class" xsi:type="filter" dataType="int" /> |
| 40 | + <field name="visibility" origin="table_name.field_name" handler="Magento\Framework\Search\Index\Field\Handler\Class" xsi:type="both"> |
| 41 | + <filter class="Magento\Framework\Search\Index\Filter\StopWordsFilter"/> |
| 42 | + </field> |
| 43 | + </fields> |
| 44 | + </indexer> |
| 45 | + <indexer id="indexer_3" view_id="catalogsearch_fulltext_3" class="Magento\CatalogSearch\Model\Indexer\Fulltext"> |
| 46 | + <title translate="true">Test Indexer Declaration</title> |
| 47 | + <description translate="true">Invalid origin attribute value</description> |
| 48 | + <fields handler="Magento\Framework\Search\Index\Fields\Handler"> |
| 49 | + <field name="visibility" origin="table_name_field_name" handler="Magento\Framework\Search\Index\Field\Handler\Class" xsi:type="both"/> |
| 50 | + </fields> |
| 51 | + </indexer> |
| 52 | + <indexer id="indexer_4" view_id="catalogsearch_fulltext_4" class="Magento\CatalogSearch\Model\Indexer\Fulltext"> |
| 53 | + <title translate="true">Test Indexer Declaration</title> |
| 54 | + <description translate="true">Invalid field handler attribute value</description> |
| 55 | + <fields handler="Magento\Framework\Search\Index\Fields\Handler"> |
| 56 | + <field name="visibility" origin="table_name.field_name" handler="handler" xsi:type="filter" dataType="int"/> |
| 57 | + </fields> |
| 58 | + </indexer> |
| 59 | + <indexer id="indexer_5" view_id="catalogsearch_fulltext_5" class="Magento\CatalogSearch\Model\Indexer\Fulltext"> |
| 60 | + <title translate="true">Test Indexer Declaration</title> |
| 61 | + <description translate="true">Invalid field type</description> |
| 62 | + <fields handler="Magento\Framework\Search\Index\Fields\Handler"> |
| 63 | + <field name="visibility" origin="table_name.field_name" handler="Magento\Framework\Search\Index\Field\Handler\Class" xsi:type="any"/> |
| 64 | + </fields> |
| 65 | + </indexer> |
| 66 | + <indexer id="indexer_6" view_id="catalogsearch_fulltext_6" class="Magento\CatalogSearch\Model\Indexer\Fulltext"> |
| 67 | + <title translate="true">Test Indexer Declaration</title> |
| 68 | + <description translate="true">No dataType attribute for 'filter' type field</description> |
| 69 | + <fields handler="Magento\Framework\Search\Index\Fields\Handler"> |
| 70 | + <field name="visibility" origin="table_name.field_name" handler="Magento\Framework\Search\Index\Field\Handler\Class" xsi:type="filter"/> |
| 71 | + </fields> |
| 72 | + </indexer> |
| 73 | + <indexer id="indexer_12" view_id="catalogsearch_fulltext_12" class="Magento\CatalogSearch\Model\Indexer\Fulltext"> |
| 74 | + <title translate="true">Test Indexer Declaration</title> |
| 75 | + <description translate="true">Invalid field dataType attribute value</description> |
| 76 | + <fields handler="Magento\Framework\Search\Index\Fields\Handler"> |
| 77 | + <field name="visibility" origin="table_name.field_name" handler="handler" xsi:type="filter" dataType="string"/> |
| 78 | + </fields> |
| 79 | + </indexer> |
| 80 | +</config> |
0 commit comments