Skip to content

Commit 939bdb5

Browse files
committed
feat: 减小ngram大小
1 parent 7b84f22 commit 939bdb5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ curl -H'Content-Type: application/json' -XPUT "http://localhost:9200/oiwiki" -d'
3131
"ngram_tokenizer": {
3232
"type": "ngram",
3333
"min_gram": 1,
34-
"max_gram": 9,
34+
"max_gram": 2,
3535
"token_chars": ["letter", "digit"]
3636
}
3737
},

0 commit comments

Comments
 (0)