我知道我可以给name^5
来提高该字段的得分,但我希望从文档中获取该提高值。
对于以下文档,我想将name字段的分数提高5(字段name_weight的值)
{
"id":"IW-02",
"name":"iPod & iPod Mini USB 2.0 Cable",
"manu":"Belkin",
"manu_id_s":"belkin",
"cat":["electronics",
"connector"],
"features":["car power adapter for iPod, white"],
"weight":2.0,
"price":11.5,
"price_c":"11.50,USD",
"popularity":1,
"inStock":false,
"name_weight": 5
}