Framework integration
/
Django
Jan 09, 2023
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.
Did you find this page helpful?