Class SearchResponse


  • public class SearchResponse
    extends Object
    Contains the returned response and queryResultsList for search
    • Constructor Detail

      • SearchResponse

        public SearchResponse()
    • Method Detail

      • getNumQueries

        public int getNumQueries()
      • getTopK

        public long getTopK()
      • getQueryResultsList

        public List<List<SearchResponse.QueryResult>> getQueryResultsList()
        Returns:
        a List of QueryResults. Each inner List contains the query result of a vector.
      • getResultIdsList

        public List<List<Long>> getResultIdsList()
        Returns:
        a List of result ids. Each inner List contains the result ids of a vector.
      • getResultDistancesList

        public List<List<Float>> getResultDistancesList()
        Returns:
      • getResponse

        public Response getResponse()
      • ok

        public boolean ok()