1
0
mirror of https://github.com/ilri/dspace-statistics-api.git synced 2024-11-16 11:27:03 +01:00
dspace-statistics-api/dspace_statistics_api
Alan Orth 49751b53f0
dspace_statistics_api/indexer.py: Limit to UUIDs
We need to make sure that the indexer only tries to index UUIDs, as
opposed to legacy IDs that may have been left over from a migration
from earlier DSpace versions. For example, "98110-unmigrated", "-1"
etc.

For matching the UUIDs in Solr I decided that it is sufficient for
our use case to simply match thirty-six characters, where a UUID is
composed of thirty-two hexadecimal characters and four dashes. We
don't need to do any verification of "real" UUIDs because it would
be needlessly complex in our case.

See: https://github.com/ilri/dspace-statistics-api/issues/12
2021-01-05 12:30:27 +02:00
..
docs dspace_statistics_api/docs/openapi.json: Minor edit 2020-12-27 13:53:59 +02:00
__init__.py Refactor project structure 2018-10-28 11:14:21 +02:00
app.py openapi.json: Set the API version from config 2020-12-27 12:48:13 +02:00
config.py Move unreleased change to v1.4.0 2020-12-27 12:52:24 +02:00
database.py dspace_statistics_api: Use f-strings instead of format() 2020-03-02 11:24:29 +02:00
indexer.py dspace_statistics_api/indexer.py: Limit to UUIDs 2021-01-05 12:30:27 +02:00
stats.py dspace_statistics_api/stats.py: Use -isBot:true 2020-12-20 16:56:03 +02:00
util.py dspace_statistics_api/util.py: Add vim modeline 2020-12-20 16:31:52 +02:00