Hi Michael, Thanks for all your quick responses. This clear it out for me, however I was expecting the previous behaviour :(.
On Wednesday, April 15, 2015 at 3:20:45 PM UTC+1, Michael Hunger wrote: > > Only the full array is indexed, not individual entries. > > So it won't use the index except if you provide the same array that was > initially indexed. > > The old lucene index had a different behavior that used the individual > elements for lookups, but that lead to inconsistent behavior (esp. around > uniqueness). > > in general what you can only do is (non accelerated): > > MATCH (n:Label) > > WHERE 'abc' in a.array_property > > RETURN n > > > Michael > > Am 15.04.2015 um 15:44 schrieb dav prz <[email protected] <javascript:> > >: > > So I have an array which has been indexed > > I want to query nodes which have an specific element in their arrays. > i.e: > > MATCH (n:Label{ 'abc' in array_property }) > RETURN n > > any hints to query this such that it uses the index? > > Thanks > > -- > You received this message because you are subscribed to the Google Groups > "Neo4j" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected] <javascript:>. > For more options, visit https://groups.google.com/d/optout. > > > -- You received this message because you are subscribed to the Google Groups "Neo4j" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
