Integrations
/
Frameworks
/
Django
/
Tags
Jan. 14, 2019
Tags
Tags
Use the tags
attributes to add tags to your record. It can be a field or a callable.
Copy
1
2
class ArticleIndex(AlgoliaIndex):
tags = 'category'
At query time, specify { tagFilters: 'tagvalue' }
or { tagFilters: ['tagvalue1', 'tagvalue2'] }
as search parameters to restrict the result set to specific tags.