RefinementWebPart.AccuracyIndex property

Gets or sets the number of top result items to fetch based on which of the refinement filters are calculated.

Namespace:  Microsoft.Office.Server.Search.WebControls
Assembly:  Microsoft.Office.Server.Search (in Microsoft.Office.Server.Search.dll)

Syntax

'Declaration
<ResourcesAttribute("RefinementPanel_ToolPart_Prop_AccuracyIndex", "RefinementPanel_ToolPart_Cat_Refinement",  _
    "RefinementPanel_ToolPart_Tooltip_AccuracyIndex")> _
<PersonalizableAttribute(PersonalizationScope.Shared)> _
<WebBrowsableAttribute(True)> _
Public Property AccuracyIndex As Integer
    Get
    Set
'Usage
Dim instance As RefinementWebPart
Dim value As Integer

value = instance.AccuracyIndex

instance.AccuracyIndex = value
[ResourcesAttribute("RefinementPanel_ToolPart_Prop_AccuracyIndex", "RefinementPanel_ToolPart_Cat_Refinement", 
    "RefinementPanel_ToolPart_Tooltip_AccuracyIndex")]
[PersonalizableAttribute(PersonalizationScope.Shared)]
[WebBrowsableAttribute(true)]
public int AccuracyIndex { get; set; }

Property value

Type: System.Int32
The number of top result items to fetch based on which of the refinement filters are calculated.

Exceptions

Exception Condition
WebPartPageUserException

The value is set to a negative number.

Remarks

The maximum value is 500.

See also

Reference

RefinementWebPart class

RefinementWebPart members

Microsoft.Office.Server.Search.WebControls namespace