Skip to content

Commit

Permalink
#98 partial_match=true has no effect and will be removed..
Browse files Browse the repository at this point in the history
  • Loading branch information
ephes committed Aug 2, 2023
1 parent e960ec5 commit 41413b2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cast/models/video.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,11 +70,11 @@ class Video(CollectionMember, index.Indexed, TimeStampedModel):
tags = TaggableManager(help_text=None, blank=True, verbose_name=_("tags"))

search_fields = CollectionMember.search_fields + [
index.SearchField("title", partial_match=True, boost=10),
index.SearchField("title", boost=10),
index.RelatedFields(
"tags",
[
index.SearchField("name", partial_match=True, boost=10),
index.SearchField("name", boost=10),
],
),
index.FilterField("user"),
Expand Down

0 comments on commit 41413b2

Please sign in to comment.