From: divyanshu das <divyanshu....@gmail.com>
Date: Fri, 9 Nov 2012 03:11:52 -0800 (PST)
Local: Fri, Nov 9 2012 6:11 am
Subject: Re: [Neo4j] cypher query to connect a where clause with the elements of an array
Ok. so finally the query the completed, and shows me the desired results if But it fails for node(8). I am assuming its some memory management issue. Can someone tell me, how do I pass an array or list as an argument for start n = node(array of nodes) On Friday, 9 November 2012 02:12:45 UTC+5:30, divyanshu das wrote:
> the database is designed in a way that, if a node has "rel" relationship > has(n.prop) is just to check if starting node has "prop" property. > On Friday, 9 November 2012 01:55:24 UTC+5:30, Wes Freeman wrote: >> Your queries might be mixing up the "n" and "b" identifiers. I think you >> Wes >> On Thu, Nov 8, 2012 at 3:19 PM, divyanshu das <divyan...@gmail.com>wrote: >>> Yes, I do have indexes. >>> this is the query I am using:- $queryTemplate = "START n = node(*) MATCH >>> Ideally this query should return all the list of nodes "b" , which has a >>> If I use this query:- $queryTemplate = "START n = node(1239147) MATCH >>> I get nodes with b.prop in the array. >>> But when I use this query with a "not" in where clause it gives no >>> My db has 6 million nodes, and 1645 have property "prop" >>> On Friday, 9 November 2012 01:21:33 UTC+5:30, Wes Freeman wrote: >>>> It will. David is just saying (in response to the question about how to >>>> I'm not sure what the PHP error is coming from--I'm not much of a PHP >>>> On Thu, Nov 8, 2012 at 1:42 PM, divyanshu das <divyan...@gmail.com>wrote: >>>>> thnx for pointing this out. But I did not quite understand it. Does >>>>> However, right now, I want to return those nodes first so that I can >>>>> On Friday, 9 November 2012 00:03:03 UTC+5:30, David Montag wrote: >>>>>> Just want to jump in here. The current workaround for deleting >>>>>> David >>>>>> On Wed, Nov 7, 2012 at 1:36 PM, divyanshu das <divyan...@gmail.com>wrote: >>>>>>> Is there any other way to delete nodes in 1.6.1 without using cypher >>>>>>> On Thursday, 8 November 2012 02:56:56 UTC+5:30, Wes Freeman wrote: >>>>>>>> It isn't a good idea to depend on node ids for long term use >>>>>>>> Wes >>>>>>>> On Wed, Nov 7, 2012 at 4:18 PM, divyanshu das <divyan...@gmail.com>wrote: >>>>>>>>> If I upgrade to 1.8, then I get the delete queries. Now, If I >>>>>>>>> On Thursday, 8 November 2012 02:42:51 UTC+5:30, divyanshu das >>>>>>>>>> Hey, thanks for prompt replies. If I am correct, node(*) method >>>>>>>>>> On Thursday, 8 November 2012 02:40:29 UTC+5:30, Wes Freeman wrote: >>>>>>>>>>> I guess that's not exactly what you asked for... how about this: >>>>>>>>>>> http://console.neo4j.org/r/**xg5******y9u<http://console.neo4j.org/r/xg5y9u> >>>>>>>>>>> start n=node(*) >>>>>>>>>>> On Wed, Nov 7, 2012 at 3:54 PM, Wes Freeman <freem...@gmail.com>wrote: >>>>>>>>>>>> You can't delete via Cypher with that version of Neo. >>>>>>>>>>>> If you want to just find them, you could do something like (I'm >>>>>>>>>>>> start n=node(*) >>>>>>>>>>>> Wes >>>>>>>>>>>> On Wed, Nov 7, 2012 at 3:43 PM, divyanshu das < >>>>>>>>>>>>> I have neo4j 1.6.1 and I am using php . >>>>>>>>>>>>> I have an array "arr" of a particular property "prop" of nodes. >>>>>>>>>>>>> I want to delete all nodes from neo4j having a certain >>>>>>>>>>>>> Can somebody help me out with this? >>>>>>>>>>>>> -- >>>>>>>>>>> -- >>>>>>>> -- >>>>>> -- >>>>> -- >>>> -- You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
| ||||||||||||||