Skip to content

Configure your Species Subgroups

vjrj edited this page Jan 8, 2020 · 2 revisions

Additionally to the species nameindex you use to index your data, LA uses a subgroup of the taxonomy hierarchy in order to show search summary results in Biocache and Regions (for instance).

By default, LA provides its own subgroups.json, that is configured in /data/biocache/config/subgroups.json but this highlights some species groups (and no others). As many of us we don't have marsupials in our territory, unfortunately, we have to create and configure our subgroups more representative of our territory.

Some example of a Spanish region: Sample

This subgroups should match the hierarchy used in your nameindex (for instance ALA Plantae subgroups hierarchy does not work well with the GBIF Backbone taxonomy).

Also this configuration step is a good opportunity to translate the common names of subgroups to your main site language.

Take into account that after a subgroups re-configuration, a biocache reindex must be necessary in order to show corrects subgroups results by solr.

Examples of subgroups:

Clone this wiki locally