SearchRequest searchRequest = parseSearchRequest(req, response);
SearchResult searchResult = performSearch(searchRequest, user);
int totalGuess = computeTotalResultsNumberGuess(searchRequest, searchResult);
LOG.fine("Results: " + searchResult.getNumResults() + ", total: " + totalGuess);
SearchResponse searchResponse = serializeSearchResult(searchResult, totalGuess);
serializeObjectToServlet(searchResponse, response);
}