ScoringStatistics Enum

  • java.lang.Object
    • java.lang.Enum
      • com.azure.search.documents.models.ScoringStatistics

public enum ScoringStatistics
extends Enum<ScoringStatistics>

A value that specifies whether we want to calculate scoring statistics (such as document frequency) globally for more consistent scoring, or locally, for lower latency. The default is 'local'. Use 'global' to aggregate scoring statistics globally before scoring. Using global scoring statistics can increase latency of search queries.

Fields

GLOBAL

The scoring statistics will be calculated globally for more consistent scoring.

LOCAL

The scoring statistics will be calculated locally for lower latency.

Methods inherited from java.lang.Enum

Methods inherited from java.lang.Object

Methods

fromString(String value)

public static ScoringStatistics fromString(String value)

Parses a serialized value to a ScoringStatistics instance.

Parameters

value
String
the serialized value to parse.

Returns

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

toString()

public String toString()

Returns

Overrides
java.lang.Enum.toString()

valueOf(String name)

public static ScoringStatistics valueOf(String name)

Parameters

name
String

Returns

values()

public static ScoringStatistics[] values()

Returns

Applies to