Compartilhar via


ScoringFunctionAggregation Enum

  • java.lang.Object
    • java.lang.Enum
      • com.azure.search.documents.indexes.models.ScoringFunctionAggregation

public enum ScoringFunctionAggregation
extends Enum<ScoringFunctionAggregation>

Defines the aggregation function used to combine the results of all the scoring functions in a scoring profile.

Fields

AVERAGE

Boost scores by the average of all scoring function results.

FIRST_MATCHING

Boost scores using the first applicable scoring function in the scoring profile.

MAXIMUM

Boost scores by the maximum of all scoring function results.

MINIMUM

Boost scores by the minimum of all scoring function results.

SUM

Boost scores by the sum of all scoring function results.

Methods inherited from java.lang.Enum

Methods inherited from java.lang.Object

Methods

fromString(String value)

public static ScoringFunctionAggregation fromString(String value)

Parses a serialized value to a ScoringFunctionAggregation instance.

Parameters

value
String
the serialized value to parse.

Returns

the parsed ScoringFunctionAggregation object, or null if unable to parse.

toString()

public String toString()

Returns

Overrides
java.lang.Enum.toString()

valueOf(String name)

public static ScoringFunctionAggregation valueOf(String name)

Parameters

name
String

Returns

values()

public static ScoringFunctionAggregation[] values()

Returns

Applies to