Share via


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

value = instance.AccuracyIndex

instance.AccuracyIndex = value
[WebBrowsableAttribute(true)]
[PersonalizableAttribute(PersonalizationScope.Shared)]
[ResourcesAttribute("RefinementPanel_ToolPart_Prop_AccuracyIndex", "RefinementPanel_ToolPart_Cat_Refinement", 
    "RefinementPanel_ToolPart_Tooltip_AccuracyIndex")]
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