Export (0) Print
Expand All
Expand Minimize

SearchServiceApplication.CreateDraftModelForTuning method

SharePoint 2013

Creates a draft copy of an existing ranking model to be tuned.

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

public int CreateDraftModelForTuning(
	SearchObjectOwner searchObjectOwner,
	Guid modelId,
	Guid newDraftModelId,
	bool restrictToLinear
)

Parameters

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

The owner of the search site hierarchy.

modelId
Type: System.Guid

The ranking model to be copied.

newDraftModelId
Type: System.Guid

The GUID to be given to the draft copy of the ranking model.

restrictToLinear
Type: System.Boolean

Specifies whether to use a linear model for the first stage or a neural network.

Return value

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

Community Additions

ADD
Show:
© 2014 Microsoft