> ## Documentation Index
> Fetch the complete documentation index at: https://algolia.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Tags

> How to index tags inside Django models.

Use the `tags` attributes to add tags to your record. It can be a field or a callable.

```python Python icon=code theme={"system"}
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.
