Supporting similarity queries in MARS | Synapse