Bug fix: Add Url encoding for query string

Added fix for scenario when special characters in the query string
breaks search query dsl expression. Added url encoding of the value
to escape the special characters as this is supported in the query parser.