VectorSearchResult<Record> Class
- java.
lang. Object - com.
microsoft. semantickernel. data. vectorsearch. VectorSearchResult<Record>
- com.
Type Parameters
- Record
The type of the record.
public class VectorSearchResult<Record>
Represents a vector search result.
Constructor Summary
| Constructor | Description |
|---|---|
| VectorSearchResult(Record record, double score) |
Creates a new instance of Vector |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| Record |
getRecord()
Gets the record. |
| double |
getScore()
Gets the score. |
Methods inherited from java.lang.Object
Constructor Details
VectorSearchResult
public VectorSearchResult(Record record, double score)
Creates a new instance of VectorSearchResult.
Parameters:
Method Details
getRecord
public Record getRecord()
Gets the record.
Returns:
getScore
public double getScore()
Gets the score.
Returns: