Added attributesToSnippet & queryType