Hi,

there's two way to index objects in cache:
1. by annotations:
https://apacheignite.readme.io/docs/cache-queries#section-query-configuration-by-annotations
2. by QueryEntity:
https://apacheignite.readme.io/docs/cache-queries#section-query-configuration-using-queryentity

But you can't mix both, please define fields in QueryEntity or set indexed
objects by: CacheConfiguration.setIndexedTypes(MyKey.class, MyValue.class) 

Thanks,
Mike.



--
Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Reply via email to