private void createSearchRequest(HttpServletRequest request) {

        SearchEngine searchEngine = (SearchEngine) StorageLocator.INSTANCE
                                                  .getDAO(SearchEngine.class);
        setSearchAttributes(searchEngine, request);
        List<PhoneRecord> records = searchEngine.search();
        request.setAttribute("allRecords", records);
        searchEngine.clear();
    }