schema_extra_fields.xml 1.6 KB

1234567891011121314151617181920212223
  1. <fields>
  2. <!--
  3. Example: Adding German dynamic field types to our Solr Schema.
  4. If you enable this, make sure you have a folder called lang containing
  5. stopwords_de.txt and synonyms_de.txt.
  6. This also requires to enable the content in schema_extra_types.xml.
  7. -->
  8. <!--
  9. <field name="label_de" type="text_de" indexed="true" stored="true" termVectors="true" omitNorms="true"/>
  10. <field name="content_de" type="text_de" indexed="true" stored="true" termVectors="true"/>
  11. <field name="teaser_de" type="text_de" indexed="false" stored="true"/>
  12. <field name="path_alias_de" type="text_de" indexed="true" stored="true" termVectors="true" omitNorms="true"/>
  13. <field name="taxonomy_names_de" type="text_de" indexed="true" stored="false" termVectors="true" multiValued="true" omitNorms="true"/>
  14. <field name="spell_de" type="text_de" indexed="true" stored="true" multiValued="true"/>
  15. <copyField source="label_de" dest="spell_de"/>
  16. <copyField source="content_de" dest="spell_de"/>
  17. <dynamicField name="tags_de_*" type="text_de" indexed="true" stored="false" omitNorms="true"/>
  18. <dynamicField name="ts_de_*" type="text_de" indexed="true" stored="true" multiValued="false" termVectors="true"/>
  19. <dynamicField name="tm_de_*" type="text_de" indexed="true" stored="true" multiValued="true" termVectors="true"/>
  20. <dynamicField name="tos_de_*" type="text_de" indexed="true" stored="true" multiValued="false" termVectors="true" omitNorms="true"/>
  21. <dynamicField name="tom_de_*" type="text_de" indexed="true" stored="true" multiValued="true" termVectors="true" omitNorms="true"/>
  22. -->
  23. </fields>