Closed canasdiaz closed 5 years ago
Past week new version of the tool was deployed in sotrar to fix this issue. It updated the git index during the weekend so all items have the fields demography_min_date
and demography_max_date
.
CC @hmitsch @havardl
We are done here, moving to done.
GET /git/_search
{
"aggs": {
"1": {
"cardinality": {
"field": "author_uuid"
}
}
},
"query": {
"bool": {
"must": [
{
"match_all": {}
},
{
"range": {
"demography_min_date": {
"gte": "01/03/1960",
"format": "dd/MM/yyyy||yyyy"
}
}
}
],
"filter": [],
"should": [],
"must_not": []
}
},
"size": 0
}
Returns
{
"took": 70,
"timed_out": false,
"_shards": {
"total": 5,
"successful": 5,
"skipped": 0,
"failed": 0
},
"hits": {
"total": 3442148,
"max_score": 0,
"hits": []
},
"aggregations": {
"1": {
"value": 22130
}
}
}
The Git index is missing these two fields:
Those fields are created by a study called "demography" which is failing for sotrar. This is the logged error:
The author with this id does exists, so something is happening here not related to the SH database .. at the same time this error is produced I've seen these two: