标准令牌过滤器在Elasticsearch中做了什么? [英] What exactly does the Standard tokenfilter do in Elasticsearch?

查看:159
本文介绍了标准令牌过滤器在Elasticsearch中做了什么?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

文档中没有示例 ,而且我只是想知道我输入的内容是什么。

There are no examples in the documentation, and I was just wondering what to expect from input I give it.

推荐答案

在Elasticsearch 0.16(Lucene 3.1)之前的标准令牌过滤器是标准化标记器提取标记。具体来说,它是在首字母缩略词中的单词和点的末尾删除。所以,当时的苹果的 CEO 将成为 Apple CEO 通过标准过滤器。从Elasticsearch 0.16(Lucene 3.1)开始,标准令牌过滤器 nothing (至少在此刻)。它只是将令牌传递给链中的下一个过滤器。

Before Elasticsearch 0.16 (Lucene 3.1) the standard token filter was "normalizing tokens extracted by standard tokenizer". To be specific, it was removing 's at the end of words and dots in acronyms. So, back then Apple's C.E.O would become Apple CEO after passing the standard filter. Starting with Elasticsearch 0.16 (Lucene 3.1) the standard token filter does nothing (at least at the moment). It simply passes tokens to the next filter in the chain.

这篇关于标准令牌过滤器在Elasticsearch中做了什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆