fix search options in description
Some checks are pending
ci/woodpecker/push/woodpecker Pipeline is pending
Some checks are pending
ci/woodpecker/push/woodpecker Pipeline is pending
This commit is contained in:
parent
cf774bf64d
commit
9af5fe78b1
1 changed files with 7 additions and 5 deletions
|
@ -3226,13 +3226,14 @@
|
||||||
group: :pleroma,
|
group: :pleroma,
|
||||||
key: Pleroma.Search,
|
key: Pleroma.Search,
|
||||||
type: :group,
|
type: :group,
|
||||||
|
label: "Search",
|
||||||
description: "General search settings.",
|
description: "General search settings.",
|
||||||
children: [
|
children: [
|
||||||
%{
|
%{
|
||||||
key: :module,
|
key: :module,
|
||||||
type: :keyword,
|
type: :module,
|
||||||
description: "Selected search module.",
|
description: "Selected search module.",
|
||||||
suggestion: [Pleroma.Search.DatabaseSearch, Pleroma.Search.Meilisearch]
|
suggestions: {:list_behaviour_implementations, Pleroma.Search.SearchBackend}
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
@ -3257,7 +3258,7 @@
|
||||||
},
|
},
|
||||||
%{
|
%{
|
||||||
key: :initial_indexing_chunk_size,
|
key: :initial_indexing_chunk_size,
|
||||||
type: :int,
|
type: :integer,
|
||||||
description:
|
description:
|
||||||
"Amount of posts in a batch when running the initial indexing operation. Should probably not be more than 100000" <>
|
"Amount of posts in a batch when running the initial indexing operation. Should probably not be more than 100000" <>
|
||||||
" since there's a limit on maximum insert size",
|
" since there's a limit on maximum insert size",
|
||||||
|
@ -3268,6 +3269,7 @@
|
||||||
%{
|
%{
|
||||||
group: :pleroma,
|
group: :pleroma,
|
||||||
key: Pleroma.Search.Elasticsearch.Cluster,
|
key: Pleroma.Search.Elasticsearch.Cluster,
|
||||||
|
label: "Elasticsearch",
|
||||||
type: :group,
|
type: :group,
|
||||||
description: "Elasticsearch settings.",
|
description: "Elasticsearch settings.",
|
||||||
children: [
|
children: [
|
||||||
|
@ -3334,13 +3336,13 @@
|
||||||
},
|
},
|
||||||
%{
|
%{
|
||||||
key: :bulk_page_size,
|
key: :bulk_page_size,
|
||||||
type: :int,
|
type: :integer,
|
||||||
description: "Size for bulk put requests, mostly used on building the index",
|
description: "Size for bulk put requests, mostly used on building the index",
|
||||||
suggestion: [5000]
|
suggestion: [5000]
|
||||||
},
|
},
|
||||||
%{
|
%{
|
||||||
key: :bulk_wait_interval,
|
key: :bulk_wait_interval,
|
||||||
type: :int,
|
type: :integer,
|
||||||
description: "Time to wait between bulk put requests (in ms)",
|
description: "Time to wait between bulk put requests (in ms)",
|
||||||
suggestion: [15_000]
|
suggestion: [15_000]
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue