// order by date backwards
query = parser.parse( "summary:lucene OR summary:action" );
hibQuery = s.createFullTextQuery( query, Book.class );
sort = new Sort( new SortField( "publicationDate", SortField.STRING, true ) ); //DESC
hibQuery.setSort( sort );
result = hibQuery.list();
assertNotNull( result );
assertEquals( "Wrong number of test results.", 4, result.size() );
for (Book book : result) {
System.out.println(book.getSummary() + " : " + book.getPublicationDate() );
}