ignite-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vkulichenko <valentin.kuliche...@gmail.com>
Subject Re: Indexing collection fields
Date Fri, 15 Sep 2017 17:43:35 GMT
Andrey,

You should remove collections from the POJO and create two new types (e.g.
StringValue and IntValue) that reference the parent POJO by ID. Something
like this:

StringValue {
    String val;
    int pojoid;
}

This way you will be able to index StringValue#val and join it with Pojo.

-Val



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

Mime
View raw message