Browse Source

[DOCS] Fix keyword marker docs (#59834)

Rui Almeida 5 years ago
parent
commit
2c450214ac

+ 2 - 2
docs/reference/analysis/tokenfilters/keyword-marker-tokenfilter.asciidoc

@@ -317,7 +317,7 @@ You cannot specify this parameter and `keywords_pattern`.
 `keywords_path`::
 +
 --
-(Required*, array of strings)
+(Required*, string)
 Path to a file that contains a list of keywords. Tokens that match these
 keywords are not stemmed.
 
@@ -380,7 +380,7 @@ PUT /my_index
       "filter": {
         "my_custom_keyword_marker_filter": {
           "type": "keyword_marker",
-          "keywords": "analysis/example_word_list.txt"
+          "keywords_path": "analysis/example_word_list.txt"
         }
       }
     }