better performance on trigram search