TextResult Class
- java.
lang. Object - com.
azure. search. documents. models. TextResult
- com.
Implements
public final class TextResult
implements JsonSerializable<TextResult>
The BM25 or Classic score for the text portion of the query.
Constructor Summary
| Constructor | Description |
|---|---|
| TextResult() |
Creates an instance of Text |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Text |
fromJson(JsonReader jsonReader)
Reads an instance of Text |
| Double |
getSearchScore()
Get the search |
|
Json |
toJson(JsonWriter jsonWriter) |
Methods inherited from java.lang.Object
Constructor Details
TextResult
public TextResult()
Creates an instance of TextResult class.
Method Details
fromJson
public static TextResult fromJson(JsonReader jsonReader)
Reads an instance of TextResult from the JsonReader.
Parameters:
Returns:
Throws:
getSearchScore
public Double getSearchScore()
Get the searchScore property: The BM25 or Classic score for the text portion of the query.
Returns: