Scroll to navigation

LESANA-SEARCH(1) lesana LESANA-SEARCH(1)

NAME

lesana-search - search inside a lesana collection

SYNOPSIS

[–offset OFFSET] [–pagesize PAGESIZE] [–all] [–sort FIELD1 [–sort FIELD2 …]] query [query …]

DESCRIPTION

Lesana search allows one to make searches in the collection and render the results.

The section /user/search in the full documentation describes the query syntax in more detail; it is available online at https://lesana.trueelena.org/user/search.html or it may be installed on your system (e.g. in Debian and derivatives it will be at /usr/share/doc/lesana/html/user/search.html).

By default entries are printed according to the entry_label from the settings.yaml file, but they can be rendered according to a jinja2 template.

OPTIONS

Prints an help message and exits.
The collection to work on. Default is .
Template to use when displaying results
.
.
Return all available results
Sort the results by a sortable field.

This option can be added multiple times; prefix the name of the field with - to reverse the results (e.g. --sort='-date').


AUTHOR

valhalla@trueelena.org

COPYRIGHT

2021, Elena Grandi

February 15, 2021 0.8