similaritySearch module now has a switch.