Add support for Postgres FTS in REST Server Nix module

Currently only Solr is supported.
This commit is contained in:
Thomas Gerbet
2022-04-13 09:32:55 +02:00
parent d9033e8383
commit 3e1f7ca688

View File

@ -55,6 +55,7 @@ let
};
full-text-search = {
enabled = false;
backend = "solr";
solr = {
url = "http://localhost:8983/solr/docspell";
commit-within = 1000;
@ -545,10 +546,13 @@ in {
The full-text search feature can be disabled. It requires an
additional index server which needs additional memory and disk
space. It can be enabled later any time.
Currently the SOLR search platform is supported.
'';
};
backend = mkOption {
type = types.str;
default = defaults.full-text-search.backend;
description = "The backend to use, either solr or postgresql";
};
solr = mkOption {
type = types.submodule({
options = {