Closed ansell closed 5 years ago
When biocache-store is configured to not index everything:
additional.fields.to.index
are additional fields to index that have their own column in the occ table.extra.misc.fields
are additional fields to index that are found within the JSON map that is stored as a string the in occ table column FullRecordMapper.miscPropertiesColumn
.Thanks, that explanation helps
There appear to be two separate ways to define fields that are not present in the hardcoded list, using the configuration properties
extra.misc.fields
andadditional.fields.to.index
. What is the difference between these and when should each be used?https://github.com/AtlasOfLivingAustralia/biocache-store/blob/master/src/main/scala/au/org/ala/biocache/Config.scala#L127
https://github.com/AtlasOfLivingAustralia/biocache-store/blob/master/src/main/scala/au/org/ala/biocache/Config.scala#L310-L316