query.add( new TermQuery( new Term("teacher", "aaron") ), BooleanClause.Occur.SHOULD );
FullTextQuery ftQuery = s.createFullTextQuery( query, Driver.class );
assertEquals("No filter should happen", 3, ftQuery.getResultSize() );
ftQuery = s.createFullTextQuery( query, Driver.class );
ftQuery.enableFullTextFilter( "bestDriver");
assertEquals("Should filter out Gavin", 2, ftQuery.getResultSize() );
ftQuery = s.createFullTextQuery( query, Driver.class );
ftQuery.enableFullTextFilter( "bestDriver");
ftQuery.enableFullTextFilter( "security").setParameter( "login", "andre" );