Use and update of an Infinispan index for queries in JDG

Solution Verified - Updated -

Issue

  • How the index for queries is kept up-to-date?
  • Is there a need to call the mass indexer?
  • What does the indexLocalOnly and sharedIndexed settings mean?
  • If I call the MassIndexer from a remote client there is a ClassNotFoundException, what is the reason for it and how to fix it?
Caused by: org.infinispan.client.hotrod.exceptions.HotRodClientException: java.lang.NoClassDefFoundError: org/infinispan/query/Search
    at org.infinispan.client.hotrod.impl.protocol.Codec20.checkForErrorsInResponseStatus(Codec20.java:420) ~[infinispan-remote-8.5.0.Final-redhat-9.jar!/:8.5.0.Final-redhat-9]

Environment

  • Red Hat Data Grid (RDG, JDG)
    • 6
    • 7

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