簡體   English   中英

Sharepoint 2010 搜索服務結果不一致

[英]Sharepoint 2010 Search Service results inconsistency

我有一個 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>

是否有我缺少的查詢標簽或參數?

不,這是設計使然。 結果的數量是“估計的”,並在您每次切換頁面時重新計算。 沒有查詢標記或參數丟失。 歡迎來到 SharePoint 仙境。

這是一個鏈接。 它是關於 SharePoint 2007 但也適用於 2010: http://blogs.officezealot.com/mauro/archive/2009/03/07/21441.aspx

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM