kNNQueryForObject

Retrieves the k nearest neighbors for the query object.
The result contains always exactly k objects, including the query object if
it is an element of the database.
Ties in case of equal distances are resolved by the underlying
KNNList, see KNNList.add(DistanceResultPair).

kNNQueryForID

Retrieves the k nearest neighbors for the query object.
The result contains always exactly k objects.
Ties in case of equal distances are resolved by the underlying
KNNList, see KNNList.add(DistanceResultPair).

bulkKNNQueryForID

Retrieves the k nearest neighbors for the query objects.
The result contains always exactly k objects.
Ties in case of equal distances are resolved by the underlying
KNNList, see KNNList.add(DistanceResultPair).