Closed actlikewill closed 3 months ago
@longhotsummer Since we have a new field, we need to rebuild the index. I think there was a way to do this without rebuilding the entire indexes?
@longhotsummer Since we have a new field, we need to rebuild the index. I think there was a way to do this without rebuilding the entire indexes?
we can use a technique like this to add the new fields (will have to do it for each translated field): https://github.com/laws-africa/peachjam/blob/main/peachjam_search/migrations/0001_es_mapping_add_provisions.py#L10
We'll definitely have to test locally.
@longhotsummer Since we have a new field, we need to rebuild the index. I think there was a way to do this without rebuilding the entire indexes?
we can use a technique like this to add the new fields (will have to do it for each translated field): https://github.com/laws-africa/peachjam/blob/main/peachjam_search/migrations/0001_es_mapping_add_provisions.py#L10
We'll definitely have to test locally.
This is now working :sweat_drops:
closes https://github.com/laws-africa/kenyalaw-pj/issues/57