mirror of
https://github.com/TheAnachronism/docspell.git
synced 2025-04-05 10:59:33 +00:00
Merge pull request #1512 from LeSuisse/nix-rest-module-fts-postgres
Add support for Postgres FTS in REST Server Nix module
This commit is contained in:
commit
1df15fc362
@ -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 = {
|
||||
|
Loading…
x
Reference in New Issue
Block a user