//wait for the message to be processed
Thread.sleep( 1000 );
FullTextSession ftSess = Search.createFullTextSession( openSession( ) );
ftSess.getTransaction().begin();
QueryParser parser = new QueryParser( "id", new StopAnalyzer() );
Query luceneQuery = parser.parse( "logo:jboss" );
org.hibernate.Query query = ftSess.createFullTextQuery( luceneQuery );
List result = query.list();
assertEquals( 1, result.size() );
ftSess.delete( result.get( 0 ) );