diff --git a/elasticsearch/mapping_index.py b/elasticsearch/mapping_index.py index a2accd1b..9f3d2df7 100644 --- a/elasticsearch/mapping_index.py +++ b/elasticsearch/mapping_index.py @@ -275,6 +275,7 @@ class UniteLegaleMapping(InnerDoc): est_association = Boolean() est_finess = Boolean() est_bio = Boolean() + est_ess = Boolean() est_organisme_formation = Boolean() liste_id_organisme_formation = Text() est_qualiopi = Boolean() diff --git a/elasticsearch/process_unites_legales.py b/elasticsearch/process_unites_legales.py index 10348cf3..98784944 100644 --- a/elasticsearch/process_unites_legales.py +++ b/elasticsearch/process_unites_legales.py @@ -151,6 +151,9 @@ def process_unites_legales(chunk_unites_legales_sqlite): unite_legale["est_entrepreneur_spectacle"] ) + # ESS + unite_legale_processed["est_ess"] = sqlite_str_to_bool(unite_legale["est_ess"]) + # Egapro unite_legale_processed["egapro_renseignee"] = sqlite_str_to_bool( unite_legale["egapro_renseignee"]