ScoringParameter Class
- java.
lang. Object - com.
azure. search. documents. models. ScoringParameter
- com.
public final class ScoringParameter
Represents a parameter value to be used in scoring functions (for example, referencePointParameter).
Constructor Summary
Constructor | Description |
---|---|
ScoringParameter(String nameValuePair) |
Constructor to take name value pair string of Scoring |
ScoringParameter(String name, GeoPoint value) |
Initializes a new instance of the Scoring |
ScoringParameter(String name, List<String> values) |
Initializes a new instance of the Scoring |
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
getName()
Gets the name of the scoring parameter. |
List<String> |
getValues()
Gets the values of the scoring parameter. |
String |
toString()
Covert ScoringParameter to string. |
Methods inherited from java.lang.Object
Constructor Details
ScoringParameter
public ScoringParameter(String nameValuePair)
Constructor to take name value pair string of ScoringParameter. Name and values are separated by dash, and values are separared by comma.
Parameters:
ScoringParameter
public ScoringParameter(String name, GeoPoint value)
Initializes a new instance of the ScoringParameter class with the given name and GeographyPoint value.
Parameters:
ScoringParameter
public ScoringParameter(String name, List
Initializes a new instance of the ScoringParameter class with the given name and string values.
Parameters:
Method Details
getName
public String getName()
Gets the name of the scoring parameter.
Returns:
getValues
public List
Gets the values of the scoring parameter.
Returns:
toString
public String toString()
Covert ScoringParameter to string.
Overrides:
ScoringParameter.toString()Returns:
Applies to
Azure SDK for Java
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기