Using Z-values to efficiently compute k-nearest neighbors for Apache Flink – Insight Data