我在CF10文档中读到'属性'FieldBoost'已被添加到CFIndex中,以便指定哪些字段在Solr的评分中应该有更重要的地位。'FieldBoost'导致CFIndex失败
但是,它似乎不仅没有按预期工作,而且实际上导致整个索引操作完全失败! 我在Adobe论坛上看到过其他文章提到完全相同的问题,但没有回复或解决方案可用。
我跑CF10更新11
下面的代码工作和索引14000个记录:
<cfindex collection = "MyCollection"
action = "refresh"
type = "custom"
query = "Local.MyContent"
key = "ID"
title = "Name"
body = "Name,Description"
>
不过,如果我添加了FieldBoost值,没有任何错误,并显示索引操作以正确运行,但收集现在包含零记录:
<cfindex collection = "MyCollection"
action = "refresh"
type = "custom"
query = "Local.MyContent"
key = "itemID"
title = "Name"
body = "Name,Description"
fieldBoost = "title"
>
有没有人使用这种工作?
值应该是“title”还是“Name”? –
看到这个相关的文章 - [CF10 FieldFrame上cfindex没有影响](http://stackoverflow.com/questions/12589084/cf10-fieldboost-on-cfindex-has-no-effect) –
@PeterBoughton我已经试过两个无济于事! –