apiAccessor.getQueryRuntimeAPI().search(MYQUERY,0,1) throws exception in clustered env

We use following method to query our cases:

apiAccessor.getQueryRuntimeAPI().search(MYQUERY,0,1)

and it works fine in our DEV and QA Bonita envs (which are single instances), but in our UAT (clustered) Bonit env, it throws follwoing exception:

 Exception message: Unexpected Exception arrived in Bonita: None of the specified entity types or any of their subclasses are indexed.
 Exception cause: java.lang.IllegalArgumentException: None of the specified entity types or any of their subclasses are indexed.

Can someone please help me with this, is there another search method to use for a clustered Bonita setup?

 

Regards,

Sonu

 

hello, could you please edit your question and tell us what is your environment, the version bonita, etc. ?