What is the maximum length for keyword type in elasticsearch?

Cherry

Here is documentation about keywords but they haven't tell any limits. The fault lenght as I spot is 256 characters but how to get maximum length for keyword datatype?

swapnil2993

The maximum bytes can be at most 32766. You will get a following error reason when the bytes go beyond 32766.

"reason": "Document contains at least one immense term in field=\"tags\" (whose UTF8 encoding is longer than the max length 32766), all of which were skipped.  Please correct the analyzer to not produce such terms.  The prefix of the first immense term is: '[82, 83, 75, 66, 99, 81, 87, 70, 69, 72, 49, 65, 70, 71, 48, 48, 53, 101, 86, 54, 112, 67, 53, 54, 80, 112, 56, 54, 70, 72]...', original message: bytes can be at most 32766 in length; got 32770",
"caused_by": {
  "type": "max_bytes_length_exceeded_exception",
  "reason": "bytes can be at most 32766 in length; got 32770"
}

本文收集自互联网,转载请注明来源。

如有侵权,请联系[email protected] 删除。

编辑于
0

我来说两句

0条评论
登录后参与评论

相关文章

来自分类Dev

Set maximum URL length in Jetty

来自分类Dev

limited minimum and maximum length to email with regex but error

来自分类Dev

What is the global length variable (window.length)?

来自分类Dev

如何获取Type.length

来自分类Dev

What does the "required" keyword in Swift mean?

来自分类Dev

What is the maximum size for attachment using unix mailx

来自分类Dev

压缩时的 Elasticsearch http.max_content_length

来自分类Dev

何时使用type.length-1; 和type.length(); 在java中

来自分类Dev

在休眠搜索中覆盖 Elasticsearch _type

来自分类Dev

what can I do with hadoop and elasticsearch together?

来自分类Dev

Calculating the maximum possible length for a string matching a regular expression in xsd (C#)

来自分类Dev

CHARACTER_MAXIMUM_LENGTH-SQL Server 2008(不是IINFORMATION_SCHEMA.COLUMNS中的一个)

来自分类Dev

如何在 Spring 中将 ElasticSearch 模型字段标记为 KeyWord 类型?

来自分类Dev

What's the maximum count of active websocket connections supported by tomcat 7.0

来自分类Dev

What is the type of quasiquote that matched type parameters?

来自分类Dev

What is the difference between type conversion and type assertion?

来自分类Dev

How to return the length of a list as type Integer instead of Int in Haskell

来自分类Dev

验证错误的自定义错误消息:在rails上的ruby上的validates_length_of:maximum和:minimum

来自分类Dev

Elasticsearch不索引数据库中名为“ type”的字段

来自分类Dev

Elasticsearch-search_type作为主体参数

来自分类Dev

如何在elasticsearch-js中设置“ search_type”?

来自分类Dev

如何在Elasticsearch中配置Discovery.type?

来自分类Dev

_type在ElasticSearch中的使用范围从5.5到7.7

来自分类Dev

Elasticsearch不索引数据库中名为“ type”的字段

来自分类Dev

Logstash 6.0.0:elasticsearch 的未知设置“index_type”

来自分类Dev

Confusion about rvalue reference: what is its type?

来自分类Dev

what object type/instance to use for synchronization

来自分类Dev

what is the correct way to add type definition for this module

来自分类Dev

为什么git在目标文件中添加一个“ TYPE LENGTH \ 0”标头?

Related 相关文章

  1. 1

    Set maximum URL length in Jetty

  2. 2

    limited minimum and maximum length to email with regex but error

  3. 3

    What is the global length variable (window.length)?

  4. 4

    如何获取Type.length

  5. 5

    What does the "required" keyword in Swift mean?

  6. 6

    What is the maximum size for attachment using unix mailx

  7. 7

    压缩时的 Elasticsearch http.max_content_length

  8. 8

    何时使用type.length-1; 和type.length(); 在java中

  9. 9

    在休眠搜索中覆盖 Elasticsearch _type

  10. 10

    what can I do with hadoop and elasticsearch together?

  11. 11

    Calculating the maximum possible length for a string matching a regular expression in xsd (C#)

  12. 12

    CHARACTER_MAXIMUM_LENGTH-SQL Server 2008(不是IINFORMATION_SCHEMA.COLUMNS中的一个)

  13. 13

    如何在 Spring 中将 ElasticSearch 模型字段标记为 KeyWord 类型?

  14. 14

    What's the maximum count of active websocket connections supported by tomcat 7.0

  15. 15

    What is the type of quasiquote that matched type parameters?

  16. 16

    What is the difference between type conversion and type assertion?

  17. 17

    How to return the length of a list as type Integer instead of Int in Haskell

  18. 18

    验证错误的自定义错误消息:在rails上的ruby上的validates_length_of:maximum和:minimum

  19. 19

    Elasticsearch不索引数据库中名为“ type”的字段

  20. 20

    Elasticsearch-search_type作为主体参数

  21. 21

    如何在elasticsearch-js中设置“ search_type”?

  22. 22

    如何在Elasticsearch中配置Discovery.type?

  23. 23

    _type在ElasticSearch中的使用范围从5.5到7.7

  24. 24

    Elasticsearch不索引数据库中名为“ type”的字段

  25. 25

    Logstash 6.0.0:elasticsearch 的未知设置“index_type”

  26. 26

    Confusion about rvalue reference: what is its type?

  27. 27

    what object type/instance to use for synchronization

  28. 28

    what is the correct way to add type definition for this module

  29. 29

    为什么git在目标文件中添加一个“ TYPE LENGTH \ 0”标头?

热门标签

归档