Is it possible to limit the number of returned documents by setting a threshold for document cosine similarity?