pass rawquery and strippedquery as params