共享点搜索属性权重 [英] Sharepoint Search Property Weighting

查看:68
本文介绍了共享点搜索属性权重的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用此处列出的代码:

I'm using the code listed here:

http://msdn.microsoft.com/en-us/library /ms553069.aspx

在设置属性后,为了保存更改添加了一行附加代码以调用.update(),但是即使权重为10,000,我属性的搜索结果仍位于底部,尤其是标题下方.为了使权重得以传播,还需要做其他事情吗?

With an additional line added as a call to .update() after the property is set in order to save the changes, but even with a weight of 10,000 the search results for my property are still at the bottom, particularly below title. Is there some other things that need to be done in order to get the weighting to propogate?

我还尝试将标题,作者和文件名设置为0,将属性(关键字)设置为9999,并将属性的长度归一化设置为0.该属性仍然不匹配.

I've also tried setting the title, author, and filename to 0, setting the property (keywords) to 9999, and setting length normalization of the property to 0. The results shift a bit, but searches with keywords that match the property still do not match.

所有测试之后都进行了完全爬网,重置了IIS,并回收了共享服务应用程序池.

All tests were done with a full crawl afterwards, reset IIS, and recycle the shared services app pool.

我可以给您您可能需要的其他任何信息.

I can give you any extra information you might request.

谢谢, 斯蒂芬

更新(6-19-09):为此增加了500赏金.在线提供的关于此功能的信息很少,显然,一个好的答案将是对互联网社区的巨大服务.大概也可以帮我节省一个星期:)

UPDATE (6-19-09): Added a bounty of 500 to this. Very little information about this feature available online, apparently a good answer would a huge service to the internet community. It'd probably save me a week too :)

更新2(6-19-09):模式本质上是这样的:OOB共享点文档内容类型,其中添加了文本字段关键字".附加到ows_keywords(Text)的托管属性.

UPDATE 2 (6-19-09): The schema is essentially this: OOB sharepoint document content type with added text field "Keywords". Managed property attached to ows_keywords(Text).

更新3(6-19-09):Codeplex的Sharepoint Search Bench帮助了搜索.

UPDATE 3 (6-19-09): Sharepoint Search Bench from Codeplex has helped the search a lot.

更新4(6-19-09):我已经找到了一个解决方案,其中涉及使用相同的已爬网属性创建许多(现在为5)更多托管属性.每个权重都设置为不正常的值(例如9999).这些足以使关键字结果上升到顶部.虽然不理想.仍在寻找解决方案.

UPDATE 4 (6-19-09): I've arrived at a solution that involves creating many (5 right now) more managed properties with the same crawled property. Each weight is set to something unusual (like 9999). These do enough to buoy the keyword results to the top. Less than ideal though. Still looking for a solution.

我最终得到了Update 4中的解决方案.正如Lars所说,搜索不是很灵活,尽管对属性权重进行了调整,但效果并不总是您所期望的.

The solution in Update 4 is what I ended up with. As Lars commented, the search is not very flexible and despite offering tweaks to the property weightings, the effect is not always what you would expect.

推荐答案

当您搜索属性中存在的关键字时,该属性只会对排名得分产生积极影响.对于其他任何查询,权重均不起作用!例如.当搜索关键字"SharePoint Search"时,title属性权重可确保标题中具有这些关键字的文档的排名得分得到提高.但是标题中没有这些关键字的文档不会因标题权重而增加.这适用于文本类型的所有托管属性.

The property only positively affects the ranking score when you search for keywords present in the property. For any other query the weight has no effect whatsoever! E.g. when searching for the keywords "SharePoint Search", the title property weight ensures that the ranking score is boosted for documents having these keywords in the title. But documents without any of these keywords in the title are not boosted by the title weight. This applies to all managed properties of type text.

这篇关于共享点搜索属性权重的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆