Click to Rate and Give Feedback
MSDN
MSDN Library
Office Development
SDK Documentation
Query Class
Query Properties
 TotalRowsExactMinimum Property
Community Content
In this section
Statistics Annotations (1)
Collapse All/Expand All Collapse All
This page is specific to
The 2007 product release

Other versions are also available for the following:
Query.TotalRowsExactMinimum Property (Microsoft.Office.Server.Search.Query)
Used by Microsoft.Office.Server.Search.WebControls.SearchPagingWebPart to determine the minimum value required for rendering page links.

Namespace: Microsoft.Office.Server.Search.Query
Assembly: Microsoft.Office.Server.Search (in microsoft.office.server.search.dll)
Visual Basic (Declaration)
Public Property TotalRowsExactMinimum As Integer
Visual Basic (Usage)
Dim instance As Query
Dim value As Integer

value = instance.TotalRowsExactMinimum

instance.TotalRowsExactMinimum = value
C#
public int TotalRowsExactMinimum { get; set; }

The default value is 51.

Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Use this property to set the minimum number of hit results      Andrew Connell [MVP]   |   Edit   |   Show History
When this property is set, it tells the search engine that it needs at least this many total hits that match the query... but not in the result set... only as a total of the number of hits. This comes in handy in custom paging implementations. For instance, if you show three page options at the bottom of the page (ie: you're on page 3, so you show pages 4, 5 & 6 as options) and you set your paged result set to 25, then you likely want to set this value to 3*25=75. 75 is now an estimate, but it is guarenteed that your query will return at least 75 hits.

This property is commonly used in conjunction with the ResultTable.TotalRows property.

Note that higher values of TotalRowsExactMinimum will have a negative perf impact.
Tags What's this?: Add a tag
Flag as ContentBug
Processing
© 2009 Microsoft Corporation. All rights reserved. Terms of Use | Trademarks | Privacy Statement
Page view tracker