Add national_coverage field and facet to Solr schema. Add default facet to select handler.

parent 79725c00
...@@ -186,6 +186,7 @@ ...@@ -186,6 +186,7 @@
<field name="high_value" type="boolean" indexed="true" stored="true"/> <field name="high_value" type="boolean" indexed="true" stored="true"/>
<field name="referentie_data" type="boolean" indexed="true" stored="true"/> <field name="referentie_data" type="boolean" indexed="true" stored="true"/>
<field name="basis_register" type="boolean" indexed="true" stored="true"/> <field name="basis_register" type="boolean" indexed="true" stored="true"/>
<field name="national_coverage" type="boolean" indexed="true" stored="true"/>
<!-- DCAT Distribution --> <!-- DCAT Distribution -->
<field name="res_metadata_language" type="string" indexed="true" stored="true" multiValued="true"/> <field name="res_metadata_language" type="string" indexed="true" stored="true" multiValued="true"/>
...@@ -285,6 +286,7 @@ ...@@ -285,6 +286,7 @@
<field name="facet_high_value" type="string" indexed="true" stored="true"/> <field name="facet_high_value" type="string" indexed="true" stored="true"/>
<field name="facet_referentie_data" type="string" indexed="true" stored="true"/> <field name="facet_referentie_data" type="string" indexed="true" stored="true"/>
<field name="facet_basis_register" type="string" indexed="true" stored="true"/> <field name="facet_basis_register" type="string" indexed="true" stored="true"/>
<field name="facet_national_coverage" type="string" indexed="true" stored="true"/>
<!-- Dynamic --> <!-- Dynamic -->
<dynamicField name="*_date" type="date" indexed="true" stored="true"/> <dynamicField name="*_date" type="date" indexed="true" stored="true"/>
...@@ -364,5 +366,6 @@ ...@@ -364,5 +366,6 @@
<copyField source="referentie_data" dest="facet_referentie_data"/> <copyField source="referentie_data" dest="facet_referentie_data"/>
<copyField source="high_value" dest="facet_high_value"/> <copyField source="high_value" dest="facet_high_value"/>
<copyField source="basis_register" dest="facet_basis_register"/> <copyField source="basis_register" dest="facet_basis_register"/>
<copyField source="national_coverage" dest="facet_national_coverage"/>
</schema> </schema>
...@@ -82,6 +82,7 @@ ...@@ -82,6 +82,7 @@
<str name="facet.field">facet_referentie_data</str> <str name="facet.field">facet_referentie_data</str>
<str name="facet.field">facet_high_value</str> <str name="facet.field">facet_high_value</str>
<str name="facet.field">facet_basis_register</str> <str name="facet.field">facet_basis_register</str>
<str name="facet.field">facet_national_coverage</str>
</lst> </lst>
</requestHandler> </requestHandler>
......
...@@ -186,6 +186,7 @@ ...@@ -186,6 +186,7 @@
<field name="high_value" type="boolean" indexed="true" stored="true"/> <field name="high_value" type="boolean" indexed="true" stored="true"/>
<field name="referentie_data" type="boolean" indexed="true" stored="true"/> <field name="referentie_data" type="boolean" indexed="true" stored="true"/>
<field name="basis_register" type="boolean" indexed="true" stored="true"/> <field name="basis_register" type="boolean" indexed="true" stored="true"/>
<field name="national_coverage" type="boolean" indexed="true" stored="true"/>
<!-- DCAT Distribution --> <!-- DCAT Distribution -->
<field name="res_metadata_language" type="string" indexed="true" stored="true" multiValued="true"/> <field name="res_metadata_language" type="string" indexed="true" stored="true" multiValued="true"/>
...@@ -285,6 +286,7 @@ ...@@ -285,6 +286,7 @@
<field name="facet_high_value" type="string" indexed="true" stored="true"/> <field name="facet_high_value" type="string" indexed="true" stored="true"/>
<field name="facet_referentie_data" type="string" indexed="true" stored="true"/> <field name="facet_referentie_data" type="string" indexed="true" stored="true"/>
<field name="facet_basis_register" type="string" indexed="true" stored="true"/> <field name="facet_basis_register" type="string" indexed="true" stored="true"/>
<field name="facet_national_coverage" type="string" indexed="true" stored="true"/>
<!-- Dynamic --> <!-- Dynamic -->
<dynamicField name="*_date" type="date" indexed="true" stored="true"/> <dynamicField name="*_date" type="date" indexed="true" stored="true"/>
...@@ -364,5 +366,6 @@ ...@@ -364,5 +366,6 @@
<copyField source="referentie_data" dest="facet_referentie_data"/> <copyField source="referentie_data" dest="facet_referentie_data"/>
<copyField source="high_value" dest="facet_high_value"/> <copyField source="high_value" dest="facet_high_value"/>
<copyField source="basis_register" dest="facet_basis_register"/> <copyField source="basis_register" dest="facet_basis_register"/>
<copyField source="national_coverage" dest="facet_national_coverage"/>
</schema> </schema>
...@@ -83,6 +83,7 @@ ...@@ -83,6 +83,7 @@
<str name="facet.field">facet_referentie_data</str> <str name="facet.field">facet_referentie_data</str>
<str name="facet.field">facet_high_value</str> <str name="facet.field">facet_high_value</str>
<str name="facet.field">facet_basis_register</str> <str name="facet.field">facet_basis_register</str>
<str name="facet.field">facet_national_coverage</str>
</lst> </lst>
</requestHandler> </requestHandler>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment