Hi Michael, There is no need to create index on keys as ignite key-value storage already has naturally index for it underneath. It should be enough to register indexing types [1].
Would you please clarify the use case if there is any other questions? [1] https://apacheignite.readme.io/v1.8/docs/indexes#section-registering-indexed-types On Wed, Jan 10, 2018 at 3:20 PM, Mikael <mikael-arons...@telia.com> wrote: > Hi! > > How do I create an index on a cache key that is a Long, I can't use > annotations and the QueryEntity look like it requires a class and field to > set an index ? > > Mikael > > > -- Best regards, Andrey V. Mashenkov