Skip to content

AtlasOfLivingAustralia/appd-hub

Repository files navigation

appd-hub Build Status

NOTE: Once installed via ansible, the following files will need to be modified on the APPD Hub server:

In the file “/data/biocache/config/biocache-config.properties” add the extra line:

   extra.misc.fields=hostFamily,hostGenus,hostSpecificEpithet,hostVernacularName,interceptionClassification

In the file “/data/solr/biocache/conf/schema.xml” add the following extra lines in the relevant sections:

   <field name="hostFamily" type="string" indexed="true" stored="true" multiValued="false"/>
   <field name="hostGenus" type="string" indexed="true" stored="true" multiValued="false"/>
   <field name="hostSpecificEpithet" type="string" indexed="true" stored="true" multiValued="false" />
   <field name="hostVernacularName" type="string" indexed="true" stored="true" multiValued="false" />
   <field name="interceptionClassification" type="string" indexed="true" stored="true" multiValued="false" />
   <field name="host_text" type="text" indexed="true" stored="false" multiValued="true"/>

   <!-- add the host fields to a generic host search field -->
   <copyField source="hostFamily" dest="host_text" />
   <copyField source="hostGenus" dest="host_text" />
   <copyField source="hostSpecificEpithet" dest="host_text" />
   <copyField source="hostVernacularName" dest="host_text" />