* add mount_prefix parameter, set this to location where _local_
filesystem covered by index is mounted, used to create
download path, see explanation in settings.yml
* add preview support for audio, video and image types
- settings.yml:
* add mount_prefix plus explanation on how to use it
- templates/.../files.html
* add generic media preview support
recoll is a local search engine based on Xapian:
http://www.lesbonscomptes.com/recoll/
By itself recoll does not offer web or API access,
this can be achieved using recoll-webui:
https://github.com/koniu/recoll-webui
As recoll-webui by default does not support paged JSON
results it is advisable to use a patched version which does:
https://github.com/Yetangitu/recoll-webui/tree/jsonpage
A pull request was sent upstream, if this is merged the patched
version is no longer needed
This engine uses a custom 'files' result template
set base_url to the location where recoll-webui can be reached
set dl_prefix to a location where the file hierarchy as indexed by recoll can be reached
set search_dir to the part of the indexed file hierarchy to be searched, use an empty string to search the entire search domain
Add match_language function in utils to match any user given
language code with a list of engine's supported languages.
Also add language_aliases dict on each engine to translate
standard language codes into the custom codes used by the engine.
Noticed that images are often distorted in the results due to a hard minimum height. This keeps the 4-per-row image results consistent in row height without distorting wider images.