Interface SearchResult<K,V>

Type Parameters:
K -
V -

@Beta public interface SearchResult<K,V>
Single vector search result
Since:
5.5
  • Method Details

    • getKey

      @Nonnull K getKey()
      Returns:
      id of the document
    • getDocument

      @Nullable V getDocument()
      Returns:
      the complete document payload, if it was requested to be included, otherwise null
      See Also:
    • getVectors

      @Nullable VectorValues getVectors()
      Returns:
      the document's vectors, if requested to be included, otherwise null
      See Also:
    • getScore

      float getScore()