Data Grid 8.4.0 limits query resultset to 100

Solution Verified - Updated -

Issue

Data Grid 8.4.0 limits query resultset to 100, no matter if the query returns more than 100 entries.
Example from quickstart:

Book book2 = new Book("Cloud-Native Applications with Java and Quarkus", "Build robust and reliable cloud applications", 2019);
for(int i=0;i<130; i++)
{ remoteCache.put(i, book2); }
QueryFactory queryFactory = Search.getQueryFactory(remoteCache);
Query<Book> query = queryFactory.create("FROM book_sample.Book WHERE title:'java'");
List<Book> list = query.execute().list();
System.out.println("Query resultset: "+list.size());

Environment

  • Red Hat Data Grid (RHDG)
    • 8.4

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content