Fielddata is disabled on text fields by default. Set fielddata=true on [catalogName] in order......

问题: "Fielddata is disabled on text fields by default. Set fielddatatrue on [catalogName] in order to l

问题:

"Fielddata is disabled on text fields by default. Set fielddata=true on [catalogName] in order 
to load fielddata in memory by uninverting the inverted index. Note that this can however use 
significant memory. Alternatively use a keyword field instead."

默认情况下,文本字段上的字段数据是禁用的。 在[catalogName]上设置
fielddata=true,以便通过取消倒排索引来在内存中加载字段数据。 注意,
这可能会占用大量内存。 或者使用关键字字段代替。”

解决:

PUT gulimall_product/_mapping
{
  "properties": {
    "catalogName": { 
      "type":     "text",
      "fielddata": true
    }
  }
}

参考:
官网

发布者:admin,转转请注明出处:http://www.yc00.com/web/1754939970a5217970.html

相关推荐

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信