I have an Anki deck with multiple tags associated with it. I wanted to find a way to make a deck composed of certain tags.
Suppose I wanted to study for a test that covers chapters 1 and 2 using a deck called History. The deck has cards that either have "ch01" or "ch02" as a tag, as well as other chapters mixed in.
Here's how to make a filtered deck.
Anki (Desktop)
- Open Anki.
- Go to Tools > Create Filtered Deck.
- In Search, the deck has already been selected (deck:"Default"). Change it to the appropriate deck: in my case, it will be
"deck:"History"
. - Next, specify which tags to search for and add them in Search. In my example, I would now add
and ("tag:ch01" or "tag:ch02")
. Theor
operator will find cards that have either one tag or the other. - Check that my query is correct. In the end I have
"deck:History" and ("tag:ch01" or "tag:ch02")
as my Search input. - Click Build. Now the filtered deck is ready.
AnkiDroid (Android)
- Open AnkiDroid.
- Tap the menu icon in the top right corner, then tap Create filtered deck.
- The Options screen appears. Tap Search and enter your query. Change it to the appropriate deck: in my case, it will be
"deck:"History"
. - Next, specify which tags to search for and add them in Search. In my example, I would now add
and ("tag:ch01" or "tag:ch02")
. Theor
operator will find cards that have either one tag or the other. - Check that my query is correct. In the end I have
"deck:History" and ("tag:ch01" or "tag:ch02")
as my Search input. - Tap the Back button in the top left corner. Now the filtered deck is ready.