Hello!

Ignite SQL table with index on score descending would fit it nicely.

You will have to convert JSON into BinaryObject or just extract score as a
column.

Regards,
-- 
Ilya Kasnacheev


пн, 11 мая 2020 г. в 19:11, adipro <aditya.har...@zohocorp.com>:

> The K is key with type String.
> The V is the value with type JSONObject/HashMap.
>
> V is having the following structure:
>
> {"agentId":<long>,"score":<double>,"url":<string>}
>
> Now the query on this will be in such a way that -> Get top 50 values of
> "K"
> where values in that K-V store are sorted based on "score". Provided that
> K-V store has 10-50 million K-V pairs.
>
> Can someone please suggest which data structure I need to use to solve this
> particular case?
>
>
>
> --
> Sent from: http://apache-ignite-users.70518.x6.nabble.com/
>

Reply via email to