'Get search results from the PMS.
Required parameters:
query (str):        The query string to search for
Returns:
json:
{"results_count": 69,
"results_list":
{"movie":
{"episode":'

@cherrypy.expose
@cherrypy.tools.json_out()
@requireAuth(member_of('admin'))
@addtoapi('search')
def search_results(self, query, **kwargs):

    pms_connect = pmsconnect.PmsConnect()
    result = pms_connect.get_search_results(query)
    if result:
        return result
    else:
        logger.warn(u'Unable    to    retrieve    data    for    search_results.')
