SearchServiceApplication.AddTuningDocument method

SharePoint 2013

Adds a known URL to the backend database server so that a relevance judgement may be associated with this document in the future.

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

public int AddTuningDocument(
	SearchObjectOwner searchObjectOwner,
	string Url
)

Parameters

searchObjectOwner
Type: Microsoft.Office.Server.Search.Administration.SearchObjectOwner

The owner of the search site hierarchy.

Url
Type: System.String

The URL for the document.

Return value

Type: System.Int32
The result. 0 indicates successful; -1 indicates an error.
Show: