1. A computer-implemented method comprising: receiving a plurality of inverted lists of quantized data points, each inverted list having a centroid data point associated therewith; sorting, by a processor, each inverted list according to a squared distance between each quantized data point in the respective inverted list and the respective centroid data point; receiving a query data point; and selecting, by the processor, a set of quantized data points from each of the sorted inverted lists based on a squared distance between the query data point and the respective centroid data point.