Added .idea to .gitignore
Copying of 'q' to 'query' is missing when the request is {'source': 'query': { 'query': {'q': 'text' }}} - Changes Removed
Added a new function build_query_string(). Please refer function doc for more information.