we are using Predicate API for querying the map in Hazelcast (4.2). I've found a doc how to add index to the map (https://docs.hazelcast.com/imdg/4.2/query/how-distributed-query-works#indexing-queries). Unfortunately, all configuration I've found is related to case of embedded cluster with application instance being a member. But we are using client-server topology with Hazelcast running at separate server and applications connecting to it as clients. ClientConfig
doesn't have a possibility to add index (except to near cache).
I wonder, how can we add indexes to maps on the Hazelcast server? Or did I misunderstand the way how the predicate will be processed and it is enough to set indexes on near caches?