Class VectorSearchResult<Record>

  • Type Parameters:
    Record - The type of the record.

    public class VectorSearchResult<Record>
    extends Object
    Represents a vector search result.
    • Constructor Detail

      • VectorSearchResult

        public VectorSearchResult​(Record record,
                                  double score)
        Creates a new instance of VectorSearchResult.
        Parameters:
        record - The record.
        score - The score.
    • Method Detail

      • getRecord

        public Record getRecord()
        Gets the record.
        Returns:
        The record.
      • getScore

        public double getScore()
        Gets the score.
        Returns:
        The score.