Skip to content

Commit

Permalink
Merge pull request #1152 from Metro-Records/feature/1151-search-resul…
Browse files Browse the repository at this point in the history
…t-size

Don't store full text in search index
  • Loading branch information
antidipyramid authored Jul 26, 2024
2 parents c2a0641 + eb5b8b7 commit 071f0d6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lametro/search_indexes.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ class LAMetroBillIndex(BillIndex, indexes.Indexable):
attachment_text = indexes.CharField()
viewable = indexes.BooleanField()
identifier = indexes.CharField(model_attr="identifier", boost=3.0)
full_text = indexes.CharField(stored=False, model_attr="full_text", default="")

# Custom Metro facets
bill_type = indexes.MultiValueField(faceted=True)
Expand Down

0 comments on commit 071f0d6

Please sign in to comment.