milvus-logo

Class SearchResponse.QueryResult

  • java.lang.Object
    • io.milvus.client.SearchResponse.QueryResult
  • Enclosing class:
    SearchResponse

    public static class SearchResponse.QueryResult
    extends java.lang.Object
    Represents a single result of a vector query. Contains the result vectorId and its distance to the vector being queried
    • Method Summary

      Modifier and Type Method Description
      float getDistance()  
      long getVectorId()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • getVectorId

        public long getVectorId()
      • getDistance

        public float getDistance()