简体   繁体   English

类型映射中的ElasticSearch 2.x _boost字段已弃用

[英]ElasticSearch 2.x _boost field in type mapping is deprecated

In according with documentation the _boost field in mapping will be automatically removed. 根据文档 ,映射中的_boost字段将被自动删除。 So I could rewrite this in according with new version of elasticsearch? 所以我可以用Elasticsearch的新版本重写它吗?

mappings:
        name : { boost: 1, analyzer: my_analyzer }

Regards. 问候。

Use Query-Time Boosting instead. 请改用查询时间提升

It seems that is still possible to boost at index time, check it out , but the same page tells why it's a bad idea. 似乎仍然可以在索引时提高性能,将其检出 ,但是同一页上却说明了这是一个坏主意。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM