Skip to content

Commit 1df15fc

Browse files
authored
Merge pull request #1512 from LeSuisse/nix-rest-module-fts-postgres
Add support for Postgres FTS in REST Server Nix module
2 parents d9033e8 + 3e1f7ca commit 1df15fc

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

nix/module-server.nix

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@ let
5555
};
5656
full-text-search = {
5757
enabled = false;
58+
backend = "solr";
5859
solr = {
5960
url = "http://localhost:8983/solr/docspell";
6061
commit-within = 1000;
@@ -545,10 +546,13 @@ in {
545546
The full-text search feature can be disabled. It requires an
546547
additional index server which needs additional memory and disk
547548
space. It can be enabled later any time.
548-
549-
Currently the SOLR search platform is supported.
550549
'';
551550
};
551+
backend = mkOption {
552+
type = types.str;
553+
default = defaults.full-text-search.backend;
554+
description = "The backend to use, either solr or postgresql";
555+
};
552556
solr = mkOption {
553557
type = types.submodule({
554558
options = {

0 commit comments

Comments
 (0)