FullTextSession s = Search.getFullTextSession( sess );
tx = s.beginTransaction();
QueryParser parser = new QueryParser( "title", new KeywordAnalyzer() );
Query query = parser.parse( "title:moo" );
FullTextQuery hibQuery = s.createFullTextQuery( query, Music.class );
List result = hibQuery.list();
assertEquals( "Should have returned 2 Books", 2, result.size() );
music = (Music) result.get( 0 );
assertEquals( "Book 1 should have four authors", 4, music.getAuthors().size() );
music2 = (Music) result.get( 1 );
assertEquals( "Book 2 should have four authors", 4, music2.getAuthors().size() );