AtlasOfLivingAustralia / biocache-store

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

Respect data-resource-uid parameter #299

Open reupost opened 5 years ago

reupost commented 5 years ago

Was being ignored, as far as I could tell.

reupost commented 5 years ago

Maybe disregard this until I've had a look at getting the data out of the index rather than a current table scan, otherwise it is a bit pointless (at least in terms of quickly getting a DwCA for a single dataset).

ansell commented 5 years ago

I think the data-resource-uid parameter may be a copy-paste error from DwCALoader:

https://github.com/AtlasOfLivingAustralia/biocache-store/blob/master/src/main/scala/au/org/ala/biocache/load/DwCALoader.scala#L61

As far as I know, DwCACreator is specifically designed to dump all data resources in a single run, or at least it hasn't supported that parameter in the past.