SearchServiceApplication.AddJudgementsForQuery method
Adds relevance judgements for an existing TuningQuery.
Namespace: Microsoft.Office.Server.Search.Administration
Assembly: Microsoft.Office.Server.Search (in Microsoft.Office.Server.Search.dll)
Syntax
'Declaration
Public Function AddJudgementsForQuery ( _
searchObjectOwner As SearchObjectOwner, _
queryWithJudgements As TuningQuery _
) As Integer
'Usage
Dim instance As SearchServiceApplication
Dim searchObjectOwner As SearchObjectOwner
Dim queryWithJudgements As TuningQuery
Dim returnValue As Integer
returnValue = instance.AddJudgementsForQuery(searchObjectOwner, _
queryWithJudgements)
public int AddJudgementsForQuery(
SearchObjectOwner searchObjectOwner,
TuningQuery queryWithJudgements
)
Parameters
searchObjectOwner
Type: Microsoft.Office.Server.Search.Administration.SearchObjectOwnerThe owner of the search site hierarchy.
- queryWithJudgements
Type: TuningQuery
Return value
Type: System.Int32
The result. 0 indicates successful; -1 indicates an error.
See also
Reference
SearchServiceApplication class