Ask a question to get started
Enter to sendā¢Shift+Enter new line
Turns annoy results into a list of documents and scores.
process_index_results( self, idxs: List[int], dists: List[float] ) -> List[Tuple[Document, float]]
Returns: List of Documents and scores.
idxs
List[int]
List of indices of the documents in the index.
dists
List[float]
List of distances of the documents in the index.