.forEntity( Item.class )
.get();
Query rootQuery = queryBuilder.bool()
.must( queryBuilder.range().onField( "price" ).above( 10000l ).createQuery() )
.must( queryBuilder.range().onField( "price" ).below( 20000l ).createQuery() )
.createQuery();
@SuppressWarnings( "unchecked" )
List<Item> resultList = (List<Item>) fullTextSession.createFullTextQuery( rootQuery, Item.class ).list();
assertNotNull( resultList );