Added documentation and support of attributesToSnippet & queryType