Commit 66be7565 authored by Frederick Mixell's avatar Frederick Mixell
Browse files

update to autocomplete syntax

parent f0a3a22d
......@@ -94,9 +94,9 @@ class AbstractVideo(CollectionMember, index.Indexed, models.Model):
objects = VideoQuerySet.as_manager()
search_fields = list(CollectionMember.search_fields) + [
index.SearchField('title', partial_match=True, boost=10),
index.AutocompleteField('title', boost=10),
index.RelatedFields('tags', [
index.SearchField('name', partial_match=True, boost=10),
index.AutocompleteField('name', boost=10),
]),
index.FilterField('uploaded_by_user'),
]
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment