Package org.hibernate.search

Examples of org.hibernate.search.FullTextQuery.scroll()


  private void assertTimeoutOccursOnScroll() {
    FullTextQuery hibernateQuery = fts.createFullTextQuery( noMatchQuery, Clock.class );
    hibernateQuery.setTimeout( 10, TimeUnit.MICROSECONDS );
    try {
      hibernateQuery.scroll();
      fail( "timeout exception should happen" );
    }
    catch (QueryTimeoutException e) {
      //good
    }
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.