Ignore_above 用于 elasticsearch 中的文本数据类型
Ignore_above for text datatype in elasticsearch
在 elasticsearch 5 中,string
数据类型已被删除,在 blog post.
中有很好的解释
ignore_above
不支持 text
数据类型。有人可以告诉我 text
字段如何受到保护,不受 Lucene 的术语字节长度限制的影响,如文档 here 中所述,尤其是下面的部分
This option is also useful for protecting against Lucene’s term
byte-length limit of 32766 .
ignore_above
用于 keyword
s,根据定义只有一个术语。 text
应该被分析并拆分成多个术语。分析器可以通过多种方式限制令牌的大小。 standard
analyzer has max_token_length
option while for custom analyzers you can use the length token filter.
在 elasticsearch 5 中,string
数据类型已被删除,在 blog post.
ignore_above
不支持 text
数据类型。有人可以告诉我 text
字段如何受到保护,不受 Lucene 的术语字节长度限制的影响,如文档 here 中所述,尤其是下面的部分
This option is also useful for protecting against Lucene’s term byte-length limit of 32766 .
ignore_above
用于 keyword
s,根据定义只有一个术语。 text
应该被分析并拆分成多个术语。分析器可以通过多种方式限制令牌的大小。 standard
analyzer has max_token_length
option while for custom analyzers you can use the length token filter.