Sharepoint 2010搜索服务结果不一致

时间:2011-07-18 19:58:25

标签: sharepoint search sharepoint-2010

我有一个Sharepoint 2010(完整的SP,而不是基础服务),我正在从中检索结果。但是,根据我指定的页码,可用结果的数量会发生变化。

例如,我可能会要求我的查询获取第4页和第20页记录,结果集表示总共有大约7000条记录可用。然后我将页面更改为200,现在说我只有2500可用。

以下是我正在使用的查询的XML示例:

<?xml version="1.0" encoding="utf-8" ?>
<QueryPacket xmlns="urn:Microsoft.Search.Query" Revision="1000">
<Query domain="QDomain">
 <SupportedFormats><Format>urn:Microsoft.Search.Response.Document.Document</Format></SupportedFormats>
 <Context>
  <QueryText language="en-US" type="STRING" >test text  SCOPE:"All Sites"</QueryText>
 </Context>
<Properties><Property name="Filename" /><Property name="Rank" /><Property name="Title" /><Property name="Author" /><Property name="Size" /><Property name="Path" /><Property name="Description" /><Property name="Write" /><Property name="HitHighlightedSummary" /><Property name="HitHighlightedProperties" /></Properties><SortByProperties><SortByProperty name="Rank" direction="Descending" order="1"/></SortByProperties>
 <Range><StartAt>1</StartAt><Count>20</Count></Range>
 <EnableStemming>false</EnableStemming>
 <TrimDuplicates>true</TrimDuplicates>
 <IgnoreAllNoiseQuery>true</IgnoreAllNoiseQuery>
 <ImplicitAndBehavior>true</ImplicitAndBehavior>
 <IncludeRelevanceResults>true</IncludeRelevanceResults>
 <IncludeSpecialTermResults>true</IncludeSpecialTermResults>
 <IncludeHighConfidenceResults>true</IncludeHighConfidenceResults>
</Query></QueryPacket>

我是否缺少查询标记或参数?

1 个答案:

答案 0 :(得分:1)

不,那是设计的。每次切换页面时,“估计”并重新计算结果数。没有查询标记或参数丢失。欢迎来到SharePoint-Wonderland。

这是一个链接。它与SharePoint 2007有关,但也适用于2010: http://blogs.officezealot.com/mauro/archive/2009/03/07/21441.aspx

相关问题