Document d = new Document();
HTMLParser parser = new HTMLParser(response.getInputStream());
d.add(Field.UnIndexed("url", response.getURL().toExternalForm()));
d.add(Field.UnIndexed("summary", parser.getSummary()));
d.add(Field.Text("title", parser.getTitle()));
d.add(Field.Text("contents", parser.getReader()));
suite.getWriter().addDocument(d);