From 9441a65089b143598eef16d29be08defa61f6088 Mon Sep 17 00:00:00 2001 From: Philippus Baalman Date: Fri, 3 Oct 2025 23:28:28 +0200 Subject: [PATCH] Change keep_words_path type from array to string --- docs/reference/text-analysis/analysis-keep-words-tokenfilter.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/reference/text-analysis/analysis-keep-words-tokenfilter.md b/docs/reference/text-analysis/analysis-keep-words-tokenfilter.md index cf66e29dae2f6..808b0667e2548 100644 --- a/docs/reference/text-analysis/analysis-keep-words-tokenfilter.md +++ b/docs/reference/text-analysis/analysis-keep-words-tokenfilter.md @@ -51,7 +51,7 @@ Either this parameter or `keep_words_path` must be specified. `keep_words_path` -: (Required*, array of strings) Path to a file that contains a list of words to keep. Only tokens that match words in this list are included in the output. +: (Required*, string) Path to a file that contains a list of words to keep. Only tokens that match words in this list are included in the output. This path must be absolute or relative to the `config` location, and the file must be UTF-8 encoded. Each word in the file must be separated by a line break.