summaryrefslogtreecommitdiff
path: root/lib/param
diff options
context:
space:
mode:
authorRalph Boehme <slow@samba.org>2019-08-05 16:25:01 +0200
committerRalph Boehme <slow@samba.org>2019-10-09 14:35:29 +0000
commitf5510d7db3816c6a18dc333e1ae7f505fca69815 (patch)
tree4610b30a3ceaec7f7d520d25a9b0f05f3a628e18 /lib/param
parentc338bdf5a4aef16cb3048b18c77a0095f3fc3e53 (diff)
downloadsamba-f5510d7db3816c6a18dc333e1ae7f505fca69815.tar.gz
s3:mdssvc: add Elasticsearch backend
Signed-off-by: Ralph Boehme <slow@samba.org> Reviewed-by: Noel Power <noel.power@suse.com>
Diffstat (limited to 'lib/param')
-rw-r--r--lib/param/loadparm.h1
-rw-r--r--lib/param/param_table.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/lib/param/loadparm.h b/lib/param/loadparm.h
index 5c5b1cd7cd4..d0ce3d312e1 100644
--- a/lib/param/loadparm.h
+++ b/lib/param/loadparm.h
@@ -252,6 +252,7 @@ enum mangled_names_options {MANGLED_NAMES_NO, MANGLED_NAMES_YES, MANGLED_NAMES_I
enum spotlight_backend_options {
SPOTLIGHT_BACKEND_NOINDEX,
SPOTLIGHT_BACKEND_TRACKER,
+ SPOTLIGHT_BACKEND_ES,
};
/*
diff --git a/lib/param/param_table.c b/lib/param/param_table.c
index 82dc5cd6cda..2fd3361f996 100644
--- a/lib/param/param_table.c
+++ b/lib/param/param_table.c
@@ -354,6 +354,7 @@ static const struct enum_list enum_ntlm_auth[] = {
static const struct enum_list enum_spotlight_backend[] = {
{SPOTLIGHT_BACKEND_NOINDEX, "noindex"},
{SPOTLIGHT_BACKEND_TRACKER, "tracker"},
+ {SPOTLIGHT_BACKEND_ES, "elasticsearch"},
{-1, NULL}
};