Category- and selection-enabled nearest neighbor joins. (August 2017)