del método SearchServiceApplicationProxy.CreateModel
Crea un modelo de clasificación de las características de rango dada.
Espacio de nombres: Microsoft.Office.Server.Search.Administration
Ensamblado: Microsoft.Office.Server.Search (en Microsoft.Office.Server.Search.dll)
Sintaxis
'Declaración
Public Function CreateModel ( _
searchObjectOwner As SearchObjectOwner, _
rankingModelId As Guid, _
modelSource As Guid, _
modelName As String, _
modelDescription As String, _
staticFeatures As List(Of StaticFeature), _
dynamicFeatures As List(Of DynamicFeature), _
secondLayerWeights As List(Of Double), _
secondLayerThresholds As List(Of Double), _
defaultWeight As Double _
) As Integer
'Uso
Dim instance As SearchServiceApplicationProxy
Dim searchObjectOwner As SearchObjectOwner
Dim rankingModelId As Guid
Dim modelSource As Guid
Dim modelName As String
Dim modelDescription As String
Dim staticFeatures As List(Of StaticFeature)
Dim dynamicFeatures As List(Of DynamicFeature)
Dim secondLayerWeights As List(Of Double)
Dim secondLayerThresholds As List(Of Double)
Dim defaultWeight As Double
Dim returnValue As Integer
returnValue = instance.CreateModel(searchObjectOwner, _
rankingModelId, modelSource, modelName, _
modelDescription, staticFeatures, _
dynamicFeatures, secondLayerWeights, _
secondLayerThresholds, defaultWeight)
public int CreateModel(
SearchObjectOwner searchObjectOwner,
Guid rankingModelId,
Guid modelSource,
string modelName,
string modelDescription,
List<StaticFeature> staticFeatures,
List<DynamicFeature> dynamicFeatures,
List<double> secondLayerWeights,
List<double> secondLayerThresholds,
double defaultWeight
)
Parámetros
searchObjectOwner
Tipo: Microsoft.Office.Server.Search.Administration.SearchObjectOwnerEl propietario de la jerarquía del sitio de búsqueda.
- rankingModelId
Tipo: System.Guid
- modelSource
Tipo: System.Guid
modelName
Tipo: System.StringNombre del modelo de clasificación.
modelDescription
Tipo: System.StringDescripción del modelo de clasificación.
staticFeatures
Tipo: System.Collections.Generic.List<StaticFeature>Una lista que contiene todas las características de fila estáticas disponibles en el modelo de clasificación.
dynamicFeatures
Tipo: System.Collections.Generic.List<DynamicFeature>Una lista que contiene todas las características de rango dinámicas disponibles en el modelo de clasificación.
- secondLayerWeights
Tipo: System.Collections.Generic.List<Double>
- secondLayerThresholds
Tipo: System.Collections.Generic.List<Double>
- defaultWeight
Tipo: System.Double
Valor devuelto
Tipo: System.Int32
Vea también
Referencia
clase SearchServiceApplicationProxy
Miembros SearchServiceApplicationProxy
Espacio de nombres Microsoft.Office.Server.Search.Administration