hannah cushman garland
hannah cushman garland
I believe this is the issue in question: https://sentry.io/datamade/chicago-councilmatic/issues/476354390/ (cc @fgregg, as we were looking at this during ops yesterday).
i pulled stats for the police districts!
[here ya go](https://github.com/datamade/justice-divided/blob/master/data/scripts/retrieve_census.py) (private repo at time of comment)
Another example: https://github.com/datamade/chicago-community-area-ward-demographics/blob/master/scripts/calculate_demographics.py
Haystack defaults to silent failures. It can easily be configured to raise these exceptions (and use a certain default batch size, plus other options [here](https://github.com/django-haystack/django-haystack/blob/1cc82885e287fe33bb937047137da3d803072684/haystack/backends/__init__.py#L79-L83)). See: https://github.com/datamade/la-metro-councilmatic/pull/641
[Relevant documentation](https://django-haystack.readthedocs.io/en/master/searchindex_api.html#stored-indexed-fields) in Haystack.
e.g., `'topics:Artwork Replacement Renovations On Mbl- 3 Stations: Grand, 5Th St, 103Rd St/Watts'`
Update: You can just pass the `engine`
Looks like amp; is winding up in our querystring sometimes. We should figure out why.
Sorry for two incorrect diagnoses, lol