diff --git a/peachjam/migrations/0132_outcome_es_index.py b/peachjam/migrations/0132_outcome_es_index.py index 96c15eedf..710c96f5a 100644 --- a/peachjam/migrations/0132_outcome_es_index.py +++ b/peachjam/migrations/0132_outcome_es_index.py @@ -23,6 +23,7 @@ def forwards(apps, schema_editor): "outcome_sw": ix._mapping["outcome_sw"].to_dict(), "outcome_fr": ix._mapping["outcome_fr"].to_dict(), "outcome_pt": ix._mapping["outcome_pt"].to_dict(), + "order": ix._mapping["order"].to_dict(), } }, ) diff --git a/peachjam_search/documents.py b/peachjam_search/documents.py index c48a76de1..5e5b93fd9 100644 --- a/peachjam_search/documents.py +++ b/peachjam_search/documents.py @@ -73,6 +73,7 @@ class SearchableDocument(Document): case_name = fields.TextField(analyzer="standard") case_summary = fields.TextField() flynote = fields.TextField() + order = fields.TextField() judges = fields.KeywordField(attr="judge.name") attorneys = fields.KeywordField(attr="attorney.name")