@Test
public void testBoost() throws Exception {
Session s = getSessionFactory().openSession();
s.getTransaction().begin();
s.persist(
new Document( "Hibernate in Action", "Object and Relational", "blah blah blah" )
);
s.persist(
new Document( "Object and Relational", "Hibernate in Action", "blah blah blah" )
);
s.getTransaction().commit();
s.close();
FSDirectory dir = FSDirectory.open( new File( getBaseIndexDir(), "Documents" ) );