Skip to content

Commit

Permalink
adds order to index
Browse files Browse the repository at this point in the history
  • Loading branch information
actlikewill committed May 20, 2024
1 parent 69f75d1 commit f2b7b99
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions peachjam/migrations/0132_outcome_es_index.py
Original file line number Diff line number Diff line change
Expand Up @@ -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(),
}
},
)
Expand Down
1 change: 1 addition & 0 deletions peachjam_search/documents.py
Original file line number Diff line number Diff line change
Expand Up @@ -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")

Expand Down

0 comments on commit f2b7b99

Please sign in to comment.