浏览代码

property name is not right

`ignore_script` is not right. `ignored_script' is right.

See org.elasticsearch.index.analysis.CJKBigramFilterFactory
tomoya yokota 10 年之前
父节点
当前提交
82d26c852a
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      docs/reference/analysis/tokenfilters/cjk-bigram-tokenfilter.asciidoc

+ 2 - 2
docs/reference/analysis/tokenfilters/cjk-bigram-tokenfilter.asciidoc

@@ -12,7 +12,7 @@ combined unigram+bigram approach.
 
 
 Bigrams are generated for characters in `han`, `hiragana`, `katakana` and
 Bigrams are generated for characters in `han`, `hiragana`, `katakana` and
 `hangul`, but bigrams can be disabled for particular scripts with the
 `hangul`, but bigrams can be disabled for particular scripts with the
-`ignore_scripts` parameter.  All non-CJK input is passed through unmodified.
+`ignored_scripts` parameter.  All non-CJK input is passed through unmodified.
 
 
 [source,js]
 [source,js]
 --------------------------------------------------
 --------------------------------------------------
@@ -28,7 +28,7 @@ Bigrams are generated for characters in `han`, `hiragana`, `katakana` and
             "filter" : {
             "filter" : {
                 "han_bigrams_filter" : {
                 "han_bigrams_filter" : {
                     "type" : "cjk_bigram",
                     "type" : "cjk_bigram",
-                    "ignore_scripts": [
+                    "ignored_scripts": [
                         "hiragana",
                         "hiragana",
                         "katakana",
                         "katakana",
                         "hangul"
                         "hangul"