Compartilhar via


SearchServiceApplication.AddJudgementsForQuery method

Adiciona judgements de relevância para um existente TuningQuery.

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

Syntax

'Declaração
Public Function AddJudgementsForQuery ( _
    searchObjectOwner As SearchObjectOwner, _
    queryWithJudgements As TuningQuery _
) As Integer
'Uso
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
)

Parâmetros

  • queryWithJudgements
    Type: TuningQuery

Valor retornado

Type: System.Int32
O resultado. 0 indica êxito; -1 indica um erro.

Ver também

Referência

SearchServiceApplication class

SearchServiceApplication members

Microsoft.Office.Server.Search.Administration namespace