added raw query option in msearch