diff options
author | Elena ``of Valhalla'' Grandi <valhalla@trueelena.org> | 2021-12-24 10:16:36 +0100 |
---|---|---|
committer | Elena ``of Valhalla'' Grandi <valhalla@trueelena.org> | 2021-12-24 10:16:41 +0100 |
commit | d9665cab55078aa6e0c6ca4dce4a2c7ea8c4177d (patch) | |
tree | 9cb0afaa480fef995a19e46672ad198a7512e0f1 /docs/source/user/settings.rst | |
parent | 0e4924ebca62b6767639aad773816a62c6a3c9af (diff) |
Add support for search_aliases in the settings file.
Refs: https://todo.sr.ht/~valhalla/lesana/11
Diffstat (limited to 'docs/source/user/settings.rst')
-rw-r--r-- | docs/source/user/settings.rst | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/docs/source/user/settings.rst b/docs/source/user/settings.rst index 2d3a3fa..ba14e37 100644 --- a/docs/source/user/settings.rst +++ b/docs/source/user/settings.rst @@ -20,6 +20,9 @@ It is a yaml file with a dict of properties and their values. a list of field names (possibly prefixed by + or -) that are used by default to sort results of searches in the collection. The fields must be marked as sortable in their definition, see below. +``search_aliases``: + a dict of <name>: <search snippet> which can be used in a query + template. For more details see :ref:`search aliases` ``fields``: The list of fields used by the collection, as described below. |