AtlasOfLivingAustralia / biocache-store

Occurrence processing, indexing and batch processing
Other
7 stars 24 forks source link

What is the difference between extra.misc.fields and additional.fields.to.index #308

Closed ansell closed 5 years ago

ansell commented 5 years ago

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 and additional.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

adam-collins commented 5 years ago

When biocache-store is configured to not index everything:

ansell commented 5 years ago

Thanks, that explanation helps