Debian Codegraph @

docs/plugins/fuzzy.rst

raw
1 Fuzzy Search Plugin
2 ===================
3
4 The ``fuzzy`` plugin provides a prefixed query that searches your library using
5 fuzzy pattern matching. This can be useful if you want to find a track with
6 complicated characters in the title.
7
8 First, enable the plugin named ``fuzzy`` (see :ref:`using-plugins`). You'll then
9 be able to use the ``~`` prefix to use fuzzy matching:
10
11 ::
12
13 $ beet ls '~Vareoldur'
14 Sigur Rós - Valtari - Varðeldur
15
16 Configuration
17 -------------
18
19 To configure the plugin, make a ``fuzzy:`` section in your configuration file.
20 The available options are:
21
22 - **threshold**: The "sensitivity" of the fuzzy match. A value of 1.0 will show
23 only perfect matches and a value of 0.0 will match everything. Default: 0.7.
24 - **prefix**: The character used to designate fuzzy queries. Default: ``~``,
25 which may need to be escaped in some shells.