ignite-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrey Gura <ag...@gridgain.com>
Subject Re: Searching for something based on an Array values
Date Wed, 25 Nov 2015 12:11:17 GMT

there is no such possibility. But you can create inverted index as cache
which contains list of all objects for given long value.

Another way is to represent edge as object with two long fields ("from" and
"to") and create group index for this fields.

On Wed, Nov 25, 2015 at 1:02 AM, Kevin Daly <kevin@meta.com> wrote:

> We have an object that contain an array of long[] values
> What I am trying to do is to find all of the objects that contain a value
> in
> that array.. Kind of trying to simulate edges in a graph database.. We can
> achieve this goal via link tables and SQL
> Alternatively I was thinking of indexing the objects with lucene, thus
> using
> that index, but it looks like it will only index text, not and array of
> long
> values.
> Kind of trying to think our of the box.
> --
> View this message in context:
> http://apache-ignite-users.70518.x6.nabble.com/Searching-for-something-based-on-an-Array-values-tp2047p2053.html
> Sent from the Apache Ignite Users mailing list archive at Nabble.com.

Andrey Gura
GridGain Systems, Inc.

View raw message