parser = new QueryParser( "id", new StopAnalyzer() );
result = s.createFullTextQuery( parser.parse( "body:write" ) ).list();
assertEquals( 0, result.size() );
result = s.createCriteria( Email.class ).list();
for (int i = 0; i < loop / 2; i++)
s.index( result.get( i ) );
tx.commit(); //do the process
s.index( result.get( loop / 2 ) ); //do the process out of tx
tx = s.beginTransaction();
for (int i = loop / 2 + 1; i < loop; i++)
s.index( result.get( i ) );