对于无序的英文编号如何进行分词呢
来源:3-11 -自定义分词

颐和园的昆
2018-07-10
对于商品的编码如何进行分词 如8JO 99 99Y UDS 应该如何分词和检索呢
写回答
2回答
-
如果你要解决空格的问题,可以用下面这种自定义分词的方法
GET _analyze
{
"char_filter": [
{
"type": "pattern_replace",
"pattern": "\\s",
"replacement": ""
}
],
"tokenizer": {
"type": "ngram",
"min_gram": 3,
"max_gram":11
},
"text": "8JO 99 99Y UDS"
}
012018-07-10 -
rockybean
2018-07-10
如何分词要看你的需求?
业务需求要求如何搜索呢?
082018-07-10
相似问题