private static void HandleTooManyClausesException(HttpActionExecutedContext ctx, BooleanQuery.TooManyClauses e)
        {
            ctx.Response = new HttpResponseMessage
            {
                StatusCode = HttpStatusCode.InternalServerError,
            };

            SerializeError(ctx, new
            {
                ExceptionType = e.GetType().AssemblyQualifiedName,					
                Error = "Exceeded maximum clause count in the query.",
                e.Message
            });
        }