1
0
mirror of https://github.com/ilri/dspace-statistics-api.git synced 2024-11-18 04:17:03 +01:00
dspace-statistics-api/dspace_statistics_api
Alan Orth 20c8ba0cf8 indexer.py: Add support for communities and collections
The logic to get views and downloads is very similar to that used
for items, but we facet by different fields. This uses a generic
function for indexing that takes an "indexType" and a "facetField"
parameter. The indexType parameter controls which database table
to insert into, and the facetField parameter indicates which field
to facet by in Solr.
2020-12-18 22:53:16 +02:00
..
docs Update docs about POST /items 2020-12-13 20:09:20 +02:00
__init__.py Refactor project structure 2018-10-28 11:14:21 +02:00
app.py Move all imports to top of file 2020-12-18 22:42:06 +02:00
config.py Format code with black 2019-11-27 12:30:06 +02:00
database.py dspace_statistics_api: Use f-strings instead of format() 2020-03-02 11:24:29 +02:00
indexer.py indexer.py: Add support for communities and collections 2020-12-18 22:53:16 +02:00
items.py dspace_statistics_api/items.py: Format with black 2020-12-18 22:45:39 +02:00
util.py Move all imports to top of file 2020-12-18 22:42:06 +02:00