是数字:整数,长,浮动等...在弹性搜索not_analyzed? [英] Are numbers: integer, long, float etc... in Elasticsearch not_analyzed?

查看:71
本文介绍了是数字:整数,长,浮动等...在弹性搜索not_analyzed?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

使用Elasticsearch 1.4.3

Using Elasticsearch 1.4.3

我浏览了文档,但我不确定。但是我认为整数,long,float,double等...被Lucene索引为not_analyzed?

I went through the docs but I'm not sure exactly. But I figure that integer, long, float, double etc... are indexed as not_analyzed by Lucene right?

谢谢

推荐答案

从此链接您有以下声明:


其他简单类型(如 long double date 等)也接受索引参数,但唯一的相关值是 no not_analyzed ,因为它们的值不会被分析。

The other simple types (such as long, double, date etc) also accept the index parameter, but the only relevant values are no and not_analyzed, as their values are never analyzed.

这篇关于是数字:整数,长,浮动等...在弹性搜索not_analyzed?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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