mirror of
https://github.com/ilri/dspace-statistics-api.git
synced 2024-11-22 06:15:02 +01:00
Compare commits
2 Commits
f3a0e3a671
...
2707cb37d5
Author | SHA1 | Date | |
---|---|---|---|
2707cb37d5 | |||
2407aeec70 |
@ -8,6 +8,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|||||||
### Changed
|
### Changed
|
||||||
- Add ORDER BY to /items resource to make sure results are returned
|
- Add ORDER BY to /items resource to make sure results are returned
|
||||||
deterministically
|
deterministically
|
||||||
|
- Use `fl` parameter in indexer to return only the id field
|
||||||
|
|
||||||
## [1.3.2] - 2020-11-18
|
## [1.3.2] - 2020-11-18
|
||||||
### Fixed
|
### Fixed
|
||||||
|
@ -47,6 +47,7 @@ def index_views():
|
|||||||
solr_query_params = {
|
solr_query_params = {
|
||||||
"q": "type:2",
|
"q": "type:2",
|
||||||
"fq": "-isBot:true AND statistics_type:view",
|
"fq": "-isBot:true AND statistics_type:view",
|
||||||
|
"fl": "id",
|
||||||
"facet": "true",
|
"facet": "true",
|
||||||
"facet.field": "id",
|
"facet.field": "id",
|
||||||
"facet.mincount": 1,
|
"facet.mincount": 1,
|
||||||
@ -93,6 +94,7 @@ def index_views():
|
|||||||
solr_query_params = {
|
solr_query_params = {
|
||||||
"q": "type:2",
|
"q": "type:2",
|
||||||
"fq": "-isBot:true AND statistics_type:view",
|
"fq": "-isBot:true AND statistics_type:view",
|
||||||
|
"fl": "id",
|
||||||
"facet": "true",
|
"facet": "true",
|
||||||
"facet.field": "id",
|
"facet.field": "id",
|
||||||
"facet.mincount": 1,
|
"facet.mincount": 1,
|
||||||
|
Loading…
Reference in New Issue
Block a user