@search_blueprint.route('/user', methods=['GET'])
def search_user() -> Response:
    '\n    Parse the request arguments and call the helper method to execute a user search\n    :return: a Response created with the results from the helper method\n    '
    try:
        search_term = get_query_param(request.args, 'query', 'Endpoint takes a "query" parameter')
        page_index = get_query_param(request.args, 'page_index', 'Endpoint takes a "page_index" parameter')
        search_type = request.args.get('search_type')
        results_dict = _search_user(search_term=search_term, page_index=page_index, search_type=search_type)
        return make_response(jsonify(results_dict), results_dict.get('status_code', HTTPStatus.INTERNAL_SERVER_ERROR))
    except Exception as e:
        message = ('Encountered exception: ' + str(e))
        logging.exception(message)
        return make_response(jsonify(results_dict), HTTPStatus.INTERNAL_SERVER_ERROR)
Parse the request arguments and call the helper method to execute a user search
:return: a Response created with the results from the helper method
@search_blueprint.route('/user', methods=['GET'])
def search_user() -> Response:
    '\n    Parse the request arguments and call the helper method to execute a user search\n    :return: a Response created with the results from the helper method\n    '
    try:
        search_term = get_query_param(request.args, 'query', 'Endpoint takes a "query" parameter')
        page_index = get_query_param(request.args, 'page_index', 'Endpoint takes a "page_index" parameter')
        search_type = request.args.get('search_type')
        results_dict = _search_user(search_term=search_term, page_index=page_index, search_type=search_type)
        return make_response(jsonify(results_dict), results_dict.get('status_code', HTTPStatus.INTERNAL_SERVER_ERROR))
    except Exception as e:
        message = ('Encountered exception: ' + str(e))
        logging.exception(message)
        return make_response(jsonify(results_dict), HTTPStatus.INTERNAL_SERVER_ERROR)