}
public void prepareDatabaseHandlers() {
//Register the request handler for book_page table without parameters
this.indexer.registerDocumentHandler(new SqlRequest("select book_page_text from book_page"),
new SqlDocumentHandler() {
public Document getDocument(SqlRequest request, ResultSet rs) throws SQLException {
Document document = new Document();
document.add(new Field("contents", rs.getString("book_page_text"), Field.Store.YES, Field.Index.TOKENIZED));
document.add(new Field("request", request.getSql(), Field.Store.YES, Field.Index.UN_TOKENIZED));
return document;