You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To make the biocache-service species autocomplete similar in output bie-index, an image field was included.
It has come to my attention that
This is unnecessary for the autocomplete response as images are not shown in autocomplete drop downs today.
It does not apply the configurable preferred and required image fq filters that bie-index uses.
It does not include the images from the preferred/hidden species lists that contain this information.
From a bie-index perspective, querying biocache-service requires an estimated 1 million requests. Biocache-service accomplishes similar in about a minute. It is reasonable to expect this update to take place every time occurrences change, i.e. daily.
The refactoring of the bie-index can take advantage of the output of an improved SpeciesImageService.
shorter downtime waiting for bie-index index creation
daily updates to bie-index image field instead of weekly (for the biocache-service source, not the lists based sources)
significantly lower traffic to biocache-service during an images update
Currently this information is stored using lft values. It is a goal (#885) to replace these. For this task, a mapping of id:[lft, rgt] must exist. The current process to get this information is a query to namematching-ws with an id. i.e. download the contents of the lucene names index via namematching-ws every time this is required.
Tasks
For SpeciesImageService, add config for preferred (fq list ordered by preference) and required (list of fq) image fqs.
For SpeciesImageService, when fetching images, apply all requiredImageFqs
For SpeciesImageService, when fetching images, apply, one at a time, preferredImageFqs.
Add webservice (or extend suitable existing service) to respond with SpeciesImageService data (SpeciesImagesDTO)
Add webservice (or extend suitable existing service) to respond with SpeciesCountsService data (SpeciesCountDTO)
Look at how lft/rgt is stored in the lucene index and how namematching-ws responds with it. This is with a view to adding a csv file containing id,lft,rgt in archives.ala, beside the lucene index, for use by biocache-service (optional to lower traffic) and the refactored bie-index (because the DwCA does not have this information).
The text was updated successfully, but these errors were encountered:
To make the biocache-service species autocomplete similar in output bie-index, an image field was included.
It has come to my attention that
From a bie-index perspective, querying biocache-service requires an estimated 1 million requests. Biocache-service accomplishes similar in about a minute. It is reasonable to expect this update to take place every time occurrences change, i.e. daily.
The refactoring of the bie-index can take advantage of the output of an improved SpeciesImageService.
Currently this information is stored using lft values. It is a goal (#885) to replace these. For this task, a mapping of id:[lft, rgt] must exist. The current process to get this information is a query to namematching-ws with an id. i.e. download the contents of the lucene names index via namematching-ws every time this is required.
Tasks
requiredImageFqs
preferredImageFqs
.The text was updated successfully, but these errors were encountered: