get a quantity of most similar docs