zimmerman-team / IATI.cloud

IATI datastore powered by Apache Solr. Automatically Extracts and parses IATI XML files referenced in the IATI Registry & refreshed every 3 hrs. IATI is a global initiative to improve the transparency of development and humanitarian resources and their results for addressing poverty and crises.
https://datastore.iati.cloud
MIT License
32 stars 28 forks source link

enable Django filters to do filtering simultaneously on activity/transaction/budget level #2492

Closed luminhan-zz closed 3 years ago

luminhan-zz commented 3 years ago

Sector vocabulary, sector code, sector category, country, region Flow-type, finance-type, aid-type, tied-status, currency, humanitarian flag

siemvaessen commented 3 years ago

ETA 2-3 DAYS - NEEDS CLEARANCE

amy-silcock commented 3 years ago

Approved to be worked on

k8hughes commented 3 years ago

@amy-silcock Could you check this and update the issue if the fix has been tested and approved?

siemvaessen commented 3 years ago

reference: https://iatidatastore.iatistandard.org/api/activities/?sector=41030&format=json&fields=title,sector

(we will update Postman docs as well)

amy-silcock commented 3 years ago

This morning the api is returning zero results or timing out

https://iatidatastore.iatistandard.org/api/activities/?fields=title,currency&format=json&reporting_org_identifier=GB-COH-06368740&currency=USD

image

A few tests worked yesterday

k8hughes commented 3 years ago

The Django API simultaneous feature release has caused unintended issues with the datastore and query builder. We agree this commit should be reversed for now.

siemvaessen commented 3 years ago

Sylvan will review this and look on how to optimise this.

siemvaessen commented 3 years ago

Once full parse & index is done (20 March) this can be tested / optimised for it to not crash the apps.

ghost commented 3 years ago

:tada: This issue has been resolved in version 5.6.0 :tada:

The release is available on GitHub release

Your semantic-release bot :package::rocket: