Browse Source

minor change to Solr schema

solr_update
Simon Bowie 2 years ago
parent
commit
d444c2a079
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      solr_config/schema.xml

+ 2
- 2
solr_config/schema.xml View File



<!-- ADDED BY SIMON BOWIE 2022-04-04 --> <!-- ADDED BY SIMON BOWIE 2022-04-04 -->
<copyField source="content" dest="year"/> <copyField source="content" dest="year"/>
<field name="year" type="year" indexed="true" stored="true"/>
<field name="year" type="year" indexed="true"/>


<fieldType name="year" class="solr.TextField" positionIncrementGap="100"> <fieldType name="year" class="solr.TextField" positionIncrementGap="100">
<analyzer> <analyzer>


<!-- ADDED BY SIMON BOWIE 2022-08-14 --> <!-- ADDED BY SIMON BOWIE 2022-08-14 -->
<copyField source="content" dest="country"/> <copyField source="content" dest="country"/>
<field name="country" type="country" indexed="true" stored="true"/>
<field name="country" type="country" indexed="true"/>


<fieldType name="country" class="solr.TextField" positionIncrementGap="100"> <fieldType name="country" class="solr.TextField" positionIncrementGap="100">
<analyzer> <analyzer>

Loading…
Cancel
Save