SearchServiceApplicationProxy.AddSingleJudgementForTuningQuery 方法
将相关性判断与先前标记为相对于给定的TuningQueryUnjudgedJudgedDocument相关联。
命名空间: Microsoft.Office.Server.Search.Administration
程序集: Microsoft.Office.Server.Search(位于 Microsoft.Office.Server.Search.dll 中)
语法
声明
Public Function AddSingleJudgementForTuningQuery ( _
searchObjectOwner As SearchObjectOwner, _
QueryId As Integer, _
DocId As Integer, _
LabelId As Short _
) As Integer
用法
Dim instance As SearchServiceApplicationProxy
Dim searchObjectOwner As SearchObjectOwner
Dim QueryId As Integer
Dim DocId As Integer
Dim LabelId As Short
Dim returnValue As Integer
returnValue = instance.AddSingleJudgementForTuningQuery(searchObjectOwner, _
QueryId, DocId, LabelId)
public int AddSingleJudgementForTuningQuery(
SearchObjectOwner searchObjectOwner,
int QueryId,
int DocId,
short LabelId
)
参数
searchObjectOwner
类型:Microsoft.Office.Server.Search.Administration.SearchObjectOwner搜索站点层次结构的所有者。
- QueryId
类型:System.Int32
- DocId
类型:System.Int32
- LabelId
类型:System.Int16
返回值
类型:System.Int32
另请参阅
引用
SearchServiceApplicationProxy 类