Re: [Neo4j] REST traverse deprecation

2011-11-02 Thread Jacob Hansson
On Tue, Nov 1, 2011 at 5:37 PM, Peter Neubauer 
peter.neuba...@neotechnology.com wrote:

 Well,
 I think that Cypher is not yes taking into account Uniqueness, or is
 it Andres? Otherwise, most of the normal traversals are covered.

 To keep things consistent and give people a way of doing fine grained
 traversals, I would then suggest to document all the existing examples
 using Cypher or Groovy code, so we can document that things are
 working as expected and not loose functionality.


Sounds like a really good idea.



 The JavaScript exposure then would totally go away from the REST API
 and possibly be factored out into a plugin like Groovy/Gremlin. Or
 dropped.


I vote dropped :)



 WDYT?

 Cheers,

 /peter neubauer

 GTalk:  neubauer.peter
 Skype   peter.neubauer
 Phone   +46 704 106975
 LinkedIn   http://www.linkedin.com/in/neubauer
 Twitter  http://twitter.com/peterneubauer

 http://www.neo4j.org  - NOSQL for the Enterprise.
 http://startupbootcamp.org/- Öresund - Innovation happens HERE.



 On Tue, Nov 1, 2011 at 9:31 AM, Jacob Hansson
 jacob.hans...@neotechnology.com wrote:
  On Tue, Nov 1, 2011 at 5:22 PM, Peter Neubauer 
  peter.neuba...@neotechnology.com wrote:
 
  Nope,
  I mean a server side script execution (which we already are doing in
  http://docs.neo4j.org/chunked/snapshot/rest-api-traverse.html) to
  execute traversal API code on the server. Neo4js is a client driver.
 
 
  Remember that adding yet another way to talk to the server comes at a
 cost
  of confusion and spreading engineering focus thin.
 
  I don't think we should do this unless there is a good answer to the
  question:
 
  *Is there anything* *that this solves that is not solved by Cypher or
  Gremlin, and if so, why don't we expand Cypher or Gremlin to incorporate
  that use case instead?
 
  *Collecting our efforts in fewer buckets means that improvements will
  benefit everyone, not just the group that uses the Groovy endpoint, or
 the
  Traversal API, or the JS endpoint and so on.
 
 
  Cheers,
 
  /peter neubauer
 
  GTalk:  neubauer.peter
  Skype   peter.neubauer
  Phone   +46 704 106975
  LinkedIn   http://www.linkedin.com/in/neubauer
  Twitter  http://twitter.com/peterneubauer
 
  http://www.neo4j.org  - NOSQL for the Enterprise.
  http://startupbootcamp.org/- Öresund - Innovation happens HERE.
 
 
 
  On Tue, Nov 1, 2011 at 9:19 AM, Andres Taylor
  andres.tay...@neotechnology.com wrote:
   You, something like Neo4js https://github.com/neo4j/neo4js? We've
 had
   that since forever. Or do you mean something different?
  
   Andrés
  
   On Tue, Nov 1, 2011 at 5:06 PM, Peter Neubauer 
   peter.neuba...@neotechnology.com wrote:
  
   Also,
   there is another possibility: We are exposing a ECMA script execution
   engine via the Traverse enpoints. Instead of trying to shoehorn the
   traversal API into REST calls and then anyway executing script
   snippets, Why not exposing a JavaScript plugin along exactly the same
   lines as the Groovy plugin, and provide examples on how to use the
   same usecases via that plugin, so we cover the traversal API that
 way?
  
   Cheers,
  
   /peter neubauer
  
   GTalk:  neubauer.peter
   Skype   peter.neubauer
   Phone   +46 704 106975
   LinkedIn   http://www.linkedin.com/in/neubauer
   Twitter  http://twitter.com/peterneubauer
  
   http://www.neo4j.org  - NOSQL for the Enterprise.
   http://startupbootcamp.org/- Öresund - Innovation happens HERE.
  
  
  
   On Tue, Nov 1, 2011 at 9:00 AM, Jacob Hansson
   jacob.hans...@neotechnology.com wrote:
It would be interesting to rephrase the question like this:
   
Are there any use cases that the REST traversal API covers, that we
currently cannot replicate in Cypher or Gremlin?
   
On Sun, Oct 30, 2011 at 2:45 PM, Peter Neubauer 
peter.neuba...@neotechnology.com wrote:
   
Well,
Andres has been putting the first algo into cypher and we are
  thinking
   of
exposing them there so thru can be used as path functions in an
   expression.
However, that will be step 2. WDYT?
On Oct 29, 2011 6:47 PM, maxdemarzi maxdema...@gmail.com
 wrote:
   
 I think the traversal rest api is fine for my purposes, but if
  cypher
   is
 where we want to go long term, then we need to deprecate it in
 1.6
  and
drop
 it in 1.7.

 This gives us some time to update our libraries and for cypher
 to
   settle
 down.

 Are you guys thinking of getting rid of the rest built in graph
algorithms
 or are those there to stay?

 --
 View this message in context:

   
  
 
 http://neo4j-community-discussions.438527.n3.nabble.com/Neo4j-REST-traverse-deprecation-tp3460396p3464979.html
 Sent from the Neo4j Community Discussions mailing list archive
 at
 Nabble.com.
 ___
 Neo4j mailing list
 User

Re: [Neo4j] REST traverse deprecation

2011-11-02 Thread Michael Hunger
I vote not dropped, as there are lots of non-java developers out there which 
would want to use REST server dynamically. 

That was the reason why we wrote the ruby-script-extension support.

Michael

Am 02.11.2011 um 10:08 schrieb Jacob Hansson:

 On Tue, Nov 1, 2011 at 5:37 PM, Peter Neubauer 
 peter.neuba...@neotechnology.com wrote:
 
 Well,
 I think that Cypher is not yes taking into account Uniqueness, or is
 it Andres? Otherwise, most of the normal traversals are covered.
 
 To keep things consistent and give people a way of doing fine grained
 traversals, I would then suggest to document all the existing examples
 using Cypher or Groovy code, so we can document that things are
 working as expected and not loose functionality.
 
 
 Sounds like a really good idea.
 
 
 
 The JavaScript exposure then would totally go away from the REST API
 and possibly be factored out into a plugin like Groovy/Gremlin. Or
 dropped.
 
 
 I vote dropped :)
 
 
 
 WDYT?
 
 Cheers,
 
 /peter neubauer
 
 GTalk:  neubauer.peter
 Skype   peter.neubauer
 Phone   +46 704 106975
 LinkedIn   http://www.linkedin.com/in/neubauer
 Twitter  http://twitter.com/peterneubauer
 
 http://www.neo4j.org  - NOSQL for the Enterprise.
 http://startupbootcamp.org/- Öresund - Innovation happens HERE.
 
 
 
 On Tue, Nov 1, 2011 at 9:31 AM, Jacob Hansson
 jacob.hans...@neotechnology.com wrote:
 On Tue, Nov 1, 2011 at 5:22 PM, Peter Neubauer 
 peter.neuba...@neotechnology.com wrote:
 
 Nope,
 I mean a server side script execution (which we already are doing in
 http://docs.neo4j.org/chunked/snapshot/rest-api-traverse.html) to
 execute traversal API code on the server. Neo4js is a client driver.
 
 
 Remember that adding yet another way to talk to the server comes at a
 cost
 of confusion and spreading engineering focus thin.
 
 I don't think we should do this unless there is a good answer to the
 question:
 
 *Is there anything* *that this solves that is not solved by Cypher or
 Gremlin, and if so, why don't we expand Cypher or Gremlin to incorporate
 that use case instead?
 
 *Collecting our efforts in fewer buckets means that improvements will
 benefit everyone, not just the group that uses the Groovy endpoint, or
 the
 Traversal API, or the JS endpoint and so on.
 
 
 Cheers,
 
 /peter neubauer
 
 GTalk:  neubauer.peter
 Skype   peter.neubauer
 Phone   +46 704 106975
 LinkedIn   http://www.linkedin.com/in/neubauer
 Twitter  http://twitter.com/peterneubauer
 
 http://www.neo4j.org  - NOSQL for the Enterprise.
 http://startupbootcamp.org/- Öresund - Innovation happens HERE.
 
 
 
 On Tue, Nov 1, 2011 at 9:19 AM, Andres Taylor
 andres.tay...@neotechnology.com wrote:
 You, something like Neo4js https://github.com/neo4j/neo4js? We've
 had
 that since forever. Or do you mean something different?
 
 Andrés
 
 On Tue, Nov 1, 2011 at 5:06 PM, Peter Neubauer 
 peter.neuba...@neotechnology.com wrote:
 
 Also,
 there is another possibility: We are exposing a ECMA script execution
 engine via the Traverse enpoints. Instead of trying to shoehorn the
 traversal API into REST calls and then anyway executing script
 snippets, Why not exposing a JavaScript plugin along exactly the same
 lines as the Groovy plugin, and provide examples on how to use the
 same usecases via that plugin, so we cover the traversal API that
 way?
 
 Cheers,
 
 /peter neubauer
 
 GTalk:  neubauer.peter
 Skype   peter.neubauer
 Phone   +46 704 106975
 LinkedIn   http://www.linkedin.com/in/neubauer
 Twitter  http://twitter.com/peterneubauer
 
 http://www.neo4j.org  - NOSQL for the Enterprise.
 http://startupbootcamp.org/- Öresund - Innovation happens HERE.
 
 
 
 On Tue, Nov 1, 2011 at 9:00 AM, Jacob Hansson
 jacob.hans...@neotechnology.com wrote:
 It would be interesting to rephrase the question like this:
 
 Are there any use cases that the REST traversal API covers, that we
 currently cannot replicate in Cypher or Gremlin?
 
 On Sun, Oct 30, 2011 at 2:45 PM, Peter Neubauer 
 peter.neuba...@neotechnology.com wrote:
 
 Well,
 Andres has been putting the first algo into cypher and we are
 thinking
 of
 exposing them there so thru can be used as path functions in an
 expression.
 However, that will be step 2. WDYT?
 On Oct 29, 2011 6:47 PM, maxdemarzi maxdema...@gmail.com
 wrote:
 
 I think the traversal rest api is fine for my purposes, but if
 cypher
 is
 where we want to go long term, then we need to deprecate it in
 1.6
 and
 drop
 it in 1.7.
 
 This gives us some time to update our libraries and for cypher
 to
 settle
 down.
 
 Are you guys thinking of getting rid of the rest built in graph
 algorithms
 or are those there to stay?
 
 --
 View this message in context:
 
 
 
 
 http://neo4j-community-discussions.438527.n3.nabble.com/Neo4j-REST-traverse-deprecation-tp3460396p3464979.html
 Sent from the Neo4j Community Discussions mailing list archive
 at
 Nabble.com

Re: [Neo4j] REST traverse deprecation

2011-11-02 Thread Jacob Hansson
  is
  where we want to go long term, then we need to deprecate it in
  1.6
  and
  drop
  it in 1.7.
 
  This gives us some time to update our libraries and for cypher
  to
  settle
  down.
 
  Are you guys thinking of getting rid of the rest built in graph
  algorithms
  or are those there to stay?
 
  --
  View this message in context:
 
 
 
 
 
 http://neo4j-community-discussions.438527.n3.nabble.com/Neo4j-REST-traverse-deprecation-tp3460396p3464979.html
  Sent from the Neo4j Community Discussions mailing list archive
  at
  Nabble.com.
  ___
  Neo4j mailing list
  User@lists.neo4j.org
  https://lists.neo4j.org/mailman/listinfo/user
 
  ___
  Neo4j mailing list
  User@lists.neo4j.org
  https://lists.neo4j.org/mailman/listinfo/user
 
 
 
 
  --
  Jacob Hansson
  Phone: +46 (0) 763503395
  Twitter: @jakewins
  ___
  Neo4j mailing list
  User@lists.neo4j.org
  https://lists.neo4j.org/mailman/listinfo/user
 
  ___
  Neo4j mailing list
  User@lists.neo4j.org
  https://lists.neo4j.org/mailman/listinfo/user
 
  ___
  Neo4j mailing list
  User@lists.neo4j.org
  https://lists.neo4j.org/mailman/listinfo/user
 
  ___
  Neo4j mailing list
  User@lists.neo4j.org
  https://lists.neo4j.org/mailman/listinfo/user
 
 
 
 
  --
  Jacob Hansson
  Phone: +46 (0) 763503395
  Twitter: @jakewins
  ___
  Neo4j mailing list
  User@lists.neo4j.org
  https://lists.neo4j.org/mailman/listinfo/user
 
  ___
  Neo4j mailing list
  User@lists.neo4j.org
  https://lists.neo4j.org/mailman/listinfo/user
 
 
 
 
  --
  Jacob Hansson
  Phone: +46 (0) 763503395
  Twitter: @jakewins
  ___
  Neo4j mailing list
  User@lists.neo4j.org
  https://lists.neo4j.org/mailman/listinfo/user

 ___
 Neo4j mailing list
 User@lists.neo4j.org
 https://lists.neo4j.org/mailman/listinfo/user




-- 
Jacob Hansson
Phone: +46 (0) 763503395
Twitter: @jakewins
___
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user


Re: [Neo4j] REST traverse deprecation

2011-11-02 Thread Michael Hunger
 snippets, Why not exposing a JavaScript plugin along exactly the
 same
 lines as the Groovy plugin, and provide examples on how to use the
 same usecases via that plugin, so we cover the traversal API that
 way?
 
 Cheers,
 
 /peter neubauer
 
 GTalk:  neubauer.peter
 Skype   peter.neubauer
 Phone   +46 704 106975
 LinkedIn   http://www.linkedin.com/in/neubauer
 Twitter  http://twitter.com/peterneubauer
 
 http://www.neo4j.org  - NOSQL for the Enterprise.
 http://startupbootcamp.org/- Öresund - Innovation happens HERE.
 
 
 
 On Tue, Nov 1, 2011 at 9:00 AM, Jacob Hansson
 jacob.hans...@neotechnology.com wrote:
 It would be interesting to rephrase the question like this:
 
 Are there any use cases that the REST traversal API covers, that we
 currently cannot replicate in Cypher or Gremlin?
 
 On Sun, Oct 30, 2011 at 2:45 PM, Peter Neubauer 
 peter.neuba...@neotechnology.com wrote:
 
 Well,
 Andres has been putting the first algo into cypher and we are
 thinking
 of
 exposing them there so thru can be used as path functions in an
 expression.
 However, that will be step 2. WDYT?
 On Oct 29, 2011 6:47 PM, maxdemarzi maxdema...@gmail.com
 wrote:
 
 I think the traversal rest api is fine for my purposes, but if
 cypher
 is
 where we want to go long term, then we need to deprecate it in
 1.6
 and
 drop
 it in 1.7.
 
 This gives us some time to update our libraries and for cypher
 to
 settle
 down.
 
 Are you guys thinking of getting rid of the rest built in graph
 algorithms
 or are those there to stay?
 
 --
 View this message in context:
 
 
 
 
 
 http://neo4j-community-discussions.438527.n3.nabble.com/Neo4j-REST-traverse-deprecation-tp3460396p3464979.html
 Sent from the Neo4j Community Discussions mailing list archive
 at
 Nabble.com.
 ___
 Neo4j mailing list
 User@lists.neo4j.org
 https://lists.neo4j.org/mailman/listinfo/user
 
 ___
 Neo4j mailing list
 User@lists.neo4j.org
 https://lists.neo4j.org/mailman/listinfo/user
 
 
 
 
 --
 Jacob Hansson
 Phone: +46 (0) 763503395
 Twitter: @jakewins
 ___
 Neo4j mailing list
 User@lists.neo4j.org
 https://lists.neo4j.org/mailman/listinfo/user
 
 ___
 Neo4j mailing list
 User@lists.neo4j.org
 https://lists.neo4j.org/mailman/listinfo/user
 
 ___
 Neo4j mailing list
 User@lists.neo4j.org
 https://lists.neo4j.org/mailman/listinfo/user
 
 ___
 Neo4j mailing list
 User@lists.neo4j.org
 https://lists.neo4j.org/mailman/listinfo/user
 
 
 
 
 --
 Jacob Hansson
 Phone: +46 (0) 763503395
 Twitter: @jakewins
 ___
 Neo4j mailing list
 User@lists.neo4j.org
 https://lists.neo4j.org/mailman/listinfo/user
 
 ___
 Neo4j mailing list
 User@lists.neo4j.org
 https://lists.neo4j.org/mailman/listinfo/user
 
 
 
 
 --
 Jacob Hansson
 Phone: +46 (0) 763503395
 Twitter: @jakewins
 ___
 Neo4j mailing list
 User@lists.neo4j.org
 https://lists.neo4j.org/mailman/listinfo/user
 
 ___
 Neo4j mailing list
 User@lists.neo4j.org
 https://lists.neo4j.org/mailman/listinfo/user
 
 
 
 
 -- 
 Jacob Hansson
 Phone: +46 (0) 763503395
 Twitter: @jakewins
 ___
 Neo4j mailing list
 User@lists.neo4j.org
 https://lists.neo4j.org/mailman/listinfo/user

___
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user


Re: [Neo4j] REST traverse deprecation

2011-11-02 Thread Jacob Hansson
/peterneubauer
 
  http://www.neo4j.org  - NOSQL for the Enterprise.
  http://startupbootcamp.org/- Öresund - Innovation happens HERE.
 
 
 
  On Tue, Nov 1, 2011 at 9:31 AM, Jacob Hansson
  jacob.hans...@neotechnology.com wrote:
  On Tue, Nov 1, 2011 at 5:22 PM, Peter Neubauer 
  peter.neuba...@neotechnology.com wrote:
 
  Nope,
  I mean a server side script execution (which we already are doing in
  http://docs.neo4j.org/chunked/snapshot/rest-api-traverse.html) to
  execute traversal API code on the server. Neo4js is a client driver.
 
 
  Remember that adding yet another way to talk to the server comes at a
  cost
  of confusion and spreading engineering focus thin.
 
  I don't think we should do this unless there is a good answer to the
  question:
 
  *Is there anything* *that this solves that is not solved by Cypher or
  Gremlin, and if so, why don't we expand Cypher or Gremlin to
  incorporate
  that use case instead?
 
  *Collecting our efforts in fewer buckets means that improvements will
  benefit everyone, not just the group that uses the Groovy endpoint,
 or
  the
  Traversal API, or the JS endpoint and so on.
 
 
  Cheers,
 
  /peter neubauer
 
  GTalk:  neubauer.peter
  Skype   peter.neubauer
  Phone   +46 704 106975
  LinkedIn   http://www.linkedin.com/in/neubauer
  Twitter  http://twitter.com/peterneubauer
 
  http://www.neo4j.org  - NOSQL for the Enterprise.
  http://startupbootcamp.org/- Öresund - Innovation happens HERE.
 
 
 
  On Tue, Nov 1, 2011 at 9:19 AM, Andres Taylor
  andres.tay...@neotechnology.com wrote:
  You, something like Neo4js https://github.com/neo4j/neo4js?
 We've
  had
  that since forever. Or do you mean something different?
 
  Andrés
 
  On Tue, Nov 1, 2011 at 5:06 PM, Peter Neubauer 
  peter.neuba...@neotechnology.com wrote:
 
  Also,
  there is another possibility: We are exposing a ECMA script
  execution
  engine via the Traverse enpoints. Instead of trying to shoehorn
 the
  traversal API into REST calls and then anyway executing script
  snippets, Why not exposing a JavaScript plugin along exactly the
  same
  lines as the Groovy plugin, and provide examples on how to use the
  same usecases via that plugin, so we cover the traversal API that
  way?
 
  Cheers,
 
  /peter neubauer
 
  GTalk:  neubauer.peter
  Skype   peter.neubauer
  Phone   +46 704 106975
  LinkedIn   http://www.linkedin.com/in/neubauer
  Twitter  http://twitter.com/peterneubauer
 
  http://www.neo4j.org  - NOSQL for the Enterprise.
  http://startupbootcamp.org/- Öresund - Innovation happens
 HERE.
 
 
 
  On Tue, Nov 1, 2011 at 9:00 AM, Jacob Hansson
  jacob.hans...@neotechnology.com wrote:
  It would be interesting to rephrase the question like this:
 
  Are there any use cases that the REST traversal API covers, that
 we
  currently cannot replicate in Cypher or Gremlin?
 
  On Sun, Oct 30, 2011 at 2:45 PM, Peter Neubauer 
  peter.neuba...@neotechnology.com wrote:
 
  Well,
  Andres has been putting the first algo into cypher and we are
  thinking
  of
  exposing them there so thru can be used as path functions in an
  expression.
  However, that will be step 2. WDYT?
  On Oct 29, 2011 6:47 PM, maxdemarzi maxdema...@gmail.com
  wrote:
 
  I think the traversal rest api is fine for my purposes, but if
  cypher
  is
  where we want to go long term, then we need to deprecate it in
  1.6
  and
  drop
  it in 1.7.
 
  This gives us some time to update our libraries and for cypher
  to
  settle
  down.
 
  Are you guys thinking of getting rid of the rest built in graph
  algorithms
  or are those there to stay?
 
  --
  View this message in context:
 
 
 
 
 
 
 http://neo4j-community-discussions.438527.n3.nabble.com/Neo4j-REST-traverse-deprecation-tp3460396p3464979.html
  Sent from the Neo4j Community Discussions mailing list archive
  at
  Nabble.com.
  ___
  Neo4j mailing list
  User@lists.neo4j.org
  https://lists.neo4j.org/mailman/listinfo/user
 
  ___
  Neo4j mailing list
  User@lists.neo4j.org
  https://lists.neo4j.org/mailman/listinfo/user
 
 
 
 
  --
  Jacob Hansson
  Phone: +46 (0) 763503395
  Twitter: @jakewins
  ___
  Neo4j mailing list
  User@lists.neo4j.org
  https://lists.neo4j.org/mailman/listinfo/user
 
  ___
  Neo4j mailing list
  User@lists.neo4j.org
  https://lists.neo4j.org/mailman/listinfo/user
 
  ___
  Neo4j mailing list
  User@lists.neo4j.org
  https://lists.neo4j.org/mailman/listinfo/user
 
  ___
  Neo4j mailing list
  User@lists.neo4j.org
  https://lists.neo4j.org/mailman/listinfo/user
 
 
 
 
  --
  Jacob Hansson
  Phone: +46 (0) 763503395
  Twitter: @jakewins
  ___
  Neo4j mailing list

Re: [Neo4j] REST traverse deprecation

2011-11-02 Thread Andres Taylor
On Wed, Nov 2, 2011 at 11:56 AM, Jacob Hansson 
jacob.hans...@neotechnology.com wrote:

 On Wed, Nov 2, 2011 at 11:11 AM, Michael Hunger 
 michael.hun...@neotechnology.com wrote:

  * custom traversals with complicated callbacks
 

 This is really what my original question to Peter was about - what are some
 traversals like this, that we currently cannot do with Cypher or Gremlin?
 Can we extend Cypher to accomodate those use cases?


Well, Gremlin is just Groovy+Pipes, so there's nothing you can't do in
Gremlin.

If we're talking about Cypher, I have one for you: PageRank. PageRank
iterates over the data set a specified number of times, marking and
updating stuff on the fly, until it's happy and returns a result. It's not
hard at all to write using Gremlin, but impossible with Cypher. I can't see
a way to make that nice and easy with Cypher.

Andrés
___
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user


Re: [Neo4j] REST traverse deprecation

2011-11-02 Thread Jacob Hansson
On Wed, Nov 2, 2011 at 12:34 PM, Andres Taylor 
andres.tay...@neotechnology.com wrote:

 On Wed, Nov 2, 2011 at 11:56 AM, Jacob Hansson 
 jacob.hans...@neotechnology.com wrote:

  On Wed, Nov 2, 2011 at 11:11 AM, Michael Hunger 
  michael.hun...@neotechnology.com wrote:
 
   * custom traversals with complicated callbacks
  
 
  This is really what my original question to Peter was about - what are
 some
  traversals like this, that we currently cannot do with Cypher or Gremlin?
  Can we extend Cypher to accomodate those use cases?


 Well, Gremlin is just Groovy+Pipes, so there's nothing you can't do in
 Gremlin.

 If we're talking about Cypher, I have one for you: PageRank. PageRank
 iterates over the data set a specified number of times, marking and
 updating stuff on the fly, until it's happy and returns a result. It's not
 hard at all to write using Gremlin, but impossible with Cypher. I can't see
 a way to make that nice and easy with Cypher.


START a=node(1)
MATCH p = a-[1..100]-other
RETURN pageRank(a via p using weights blah saving state in property x)

:)

But seriously, aren't you alluding to a key distinction here - Graph
Querying vs. Graph Processing?

For processing, cypher is not your friend. But neither is writing jobs from
scratch in your language of choice - at least not compared to writing a
gremlin script.

In this space (processing-style traversals), are there any use cases that
are better served by arbitrary script execution than gremlin queries? And
is catering to those use cases, if they exist, worth the cost in confusion,
diffusion of effort and security problems?



 Andrés
 ___
 Neo4j mailing list
 User@lists.neo4j.org
 https://lists.neo4j.org/mailman/listinfo/user




-- 
Jacob Hansson
Phone: +46 (0) 763503395
Twitter: @jakewins
___
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user


Re: [Neo4j] REST traverse deprecation

2011-11-02 Thread Peter Neubauer
:

 *Is there anything* *that this solves that is not solved by Cypher or
 Gremlin, and if so, why don't we expand Cypher or Gremlin to
 incorporate
 that use case instead?

 *Collecting our efforts in fewer buckets means that improvements will
 benefit everyone, not just the group that uses the Groovy endpoint, or
 the
 Traversal API, or the JS endpoint and so on.


 Cheers,

 /peter neubauer

 GTalk:      neubauer.peter
 Skype       peter.neubauer
 Phone       +46 704 106975
 LinkedIn   http://www.linkedin.com/in/neubauer
 Twitter      http://twitter.com/peterneubauer

 http://www.neo4j.org              - NOSQL for the Enterprise.
 http://startupbootcamp.org/    - Öresund - Innovation happens HERE.



 On Tue, Nov 1, 2011 at 9:19 AM, Andres Taylor
 andres.tay...@neotechnology.com wrote:
 You, something like Neo4js https://github.com/neo4j/neo4js? We've
 had
 that since forever. Or do you mean something different?

 Andrés

 On Tue, Nov 1, 2011 at 5:06 PM, Peter Neubauer 
 peter.neuba...@neotechnology.com wrote:

 Also,
 there is another possibility: We are exposing a ECMA script
 execution
 engine via the Traverse enpoints. Instead of trying to shoehorn the
 traversal API into REST calls and then anyway executing script
 snippets, Why not exposing a JavaScript plugin along exactly the
 same
 lines as the Groovy plugin, and provide examples on how to use the
 same usecases via that plugin, so we cover the traversal API that
 way?

 Cheers,

 /peter neubauer

 GTalk:      neubauer.peter
 Skype       peter.neubauer
 Phone       +46 704 106975
 LinkedIn   http://www.linkedin.com/in/neubauer
 Twitter      http://twitter.com/peterneubauer

 http://www.neo4j.org              - NOSQL for the Enterprise.
 http://startupbootcamp.org/    - Öresund - Innovation happens HERE.



 On Tue, Nov 1, 2011 at 9:00 AM, Jacob Hansson
 jacob.hans...@neotechnology.com wrote:
 It would be interesting to rephrase the question like this:

 Are there any use cases that the REST traversal API covers, that we
 currently cannot replicate in Cypher or Gremlin?

 On Sun, Oct 30, 2011 at 2:45 PM, Peter Neubauer 
 peter.neuba...@neotechnology.com wrote:

 Well,
 Andres has been putting the first algo into cypher and we are
 thinking
 of
 exposing them there so thru can be used as path functions in an
 expression.
 However, that will be step 2. WDYT?
 On Oct 29, 2011 6:47 PM, maxdemarzi maxdema...@gmail.com
 wrote:

 I think the traversal rest api is fine for my purposes, but if
 cypher
 is
 where we want to go long term, then we need to deprecate it in
 1.6
 and
 drop
 it in 1.7.

 This gives us some time to update our libraries and for cypher
 to
 settle
 down.

 Are you guys thinking of getting rid of the rest built in graph
 algorithms
 or are those there to stay?

 --
 View this message in context:





 http://neo4j-community-discussions.438527.n3.nabble.com/Neo4j-REST-traverse-deprecation-tp3460396p3464979.html
 Sent from the Neo4j Community Discussions mailing list archive
 at
 Nabble.com.
 ___
 Neo4j mailing list
 User@lists.neo4j.org
 https://lists.neo4j.org/mailman/listinfo/user

 ___
 Neo4j mailing list
 User@lists.neo4j.org
 https://lists.neo4j.org/mailman/listinfo/user




 --
 Jacob Hansson
 Phone: +46 (0) 763503395
 Twitter: @jakewins
 ___
 Neo4j mailing list
 User@lists.neo4j.org
 https://lists.neo4j.org/mailman/listinfo/user

 ___
 Neo4j mailing list
 User@lists.neo4j.org
 https://lists.neo4j.org/mailman/listinfo/user

 ___
 Neo4j mailing list
 User@lists.neo4j.org
 https://lists.neo4j.org/mailman/listinfo/user

 ___
 Neo4j mailing list
 User@lists.neo4j.org
 https://lists.neo4j.org/mailman/listinfo/user




 --
 Jacob Hansson
 Phone: +46 (0) 763503395
 Twitter: @jakewins
 ___
 Neo4j mailing list
 User@lists.neo4j.org
 https://lists.neo4j.org/mailman/listinfo/user

 ___
 Neo4j mailing list
 User@lists.neo4j.org
 https://lists.neo4j.org/mailman/listinfo/user




 --
 Jacob Hansson
 Phone: +46 (0) 763503395
 Twitter: @jakewins
 ___
 Neo4j mailing list
 User@lists.neo4j.org
 https://lists.neo4j.org/mailman/listinfo/user

 ___
 Neo4j mailing list
 User@lists.neo4j.org
 https://lists.neo4j.org/mailman/listinfo/user




 --
 Jacob Hansson
 Phone: +46 (0) 763503395
 Twitter: @jakewins
 ___
 Neo4j mailing list
 User@lists.neo4j.org
 https://lists.neo4j.org/mailman/listinfo/user

 ___
 Neo4j mailing list
 User@lists.neo4j.org
 https://lists.neo4j.org/mailman/listinfo/user

___
Neo4j

Re: [Neo4j] REST traverse deprecation

2011-11-02 Thread Jacob Hansson
  Twitter  http://twitter.com/peterneubauer
 
  http://www.neo4j.org  - NOSQL for the Enterprise.
  http://startupbootcamp.org/- Öresund - Innovation happens HERE.
 
 
 
  On Tue, Nov 1, 2011 at 9:31 AM, Jacob Hansson
  jacob.hans...@neotechnology.com wrote:
  On Tue, Nov 1, 2011 at 5:22 PM, Peter Neubauer 
  peter.neuba...@neotechnology.com wrote:
 
  Nope,
  I mean a server side script execution (which we already are doing
 in
  http://docs.neo4j.org/chunked/snapshot/rest-api-traverse.html) to
  execute traversal API code on the server. Neo4js is a client
 driver.
 
 
  Remember that adding yet another way to talk to the server comes at
 a
  cost
  of confusion and spreading engineering focus thin.
 
  I don't think we should do this unless there is a good answer to the
  question:
 
  *Is there anything* *that this solves that is not solved by Cypher
 or
  Gremlin, and if so, why don't we expand Cypher or Gremlin to
  incorporate
  that use case instead?
 
  *Collecting our efforts in fewer buckets means that improvements
 will
  benefit everyone, not just the group that uses the Groovy endpoint,
 or
  the
  Traversal API, or the JS endpoint and so on.
 
 
  Cheers,
 
  /peter neubauer
 
  GTalk:  neubauer.peter
  Skype   peter.neubauer
  Phone   +46 704 106975
  LinkedIn   http://www.linkedin.com/in/neubauer
  Twitter  http://twitter.com/peterneubauer
 
  http://www.neo4j.org  - NOSQL for the Enterprise.
  http://startupbootcamp.org/- Öresund - Innovation happens
 HERE.
 
 
 
  On Tue, Nov 1, 2011 at 9:19 AM, Andres Taylor
  andres.tay...@neotechnology.com wrote:
  You, something like Neo4js https://github.com/neo4j/neo4js?
 We've
  had
  that since forever. Or do you mean something different?
 
  Andrés
 
  On Tue, Nov 1, 2011 at 5:06 PM, Peter Neubauer 
  peter.neuba...@neotechnology.com wrote:
 
  Also,
  there is another possibility: We are exposing a ECMA script
  execution
  engine via the Traverse enpoints. Instead of trying to shoehorn
 the
  traversal API into REST calls and then anyway executing script
  snippets, Why not exposing a JavaScript plugin along exactly the
  same
  lines as the Groovy plugin, and provide examples on how to use
 the
  same usecases via that plugin, so we cover the traversal API that
  way?
 
  Cheers,
 
  /peter neubauer
 
  GTalk:  neubauer.peter
  Skype   peter.neubauer
  Phone   +46 704 106975
  LinkedIn   http://www.linkedin.com/in/neubauer
  Twitter  http://twitter.com/peterneubauer
 
  http://www.neo4j.org  - NOSQL for the Enterprise.
  http://startupbootcamp.org/- Öresund - Innovation happens
 HERE.
 
 
 
  On Tue, Nov 1, 2011 at 9:00 AM, Jacob Hansson
  jacob.hans...@neotechnology.com wrote:
  It would be interesting to rephrase the question like this:
 
  Are there any use cases that the REST traversal API covers,
 that we
  currently cannot replicate in Cypher or Gremlin?
 
  On Sun, Oct 30, 2011 at 2:45 PM, Peter Neubauer 
  peter.neuba...@neotechnology.com wrote:
 
  Well,
  Andres has been putting the first algo into cypher and we are
  thinking
  of
  exposing them there so thru can be used as path functions in an
  expression.
  However, that will be step 2. WDYT?
  On Oct 29, 2011 6:47 PM, maxdemarzi maxdema...@gmail.com
  wrote:
 
  I think the traversal rest api is fine for my purposes, but if
  cypher
  is
  where we want to go long term, then we need to deprecate it in
  1.6
  and
  drop
  it in 1.7.
 
  This gives us some time to update our libraries and for cypher
  to
  settle
  down.
 
  Are you guys thinking of getting rid of the rest built in
 graph
  algorithms
  or are those there to stay?
 
  --
  View this message in context:
 
 
 
 
 
 
 http://neo4j-community-discussions.438527.n3.nabble.com/Neo4j-REST-traverse-deprecation-tp3460396p3464979.html
  Sent from the Neo4j Community Discussions mailing list archive
  at
  Nabble.com.
  ___
  Neo4j mailing list
  User@lists.neo4j.org
  https://lists.neo4j.org/mailman/listinfo/user
 
  ___
  Neo4j mailing list
  User@lists.neo4j.org
  https://lists.neo4j.org/mailman/listinfo/user
 
 
 
 
  --
  Jacob Hansson
  Phone: +46 (0) 763503395
  Twitter: @jakewins
  ___
  Neo4j mailing list
  User@lists.neo4j.org
  https://lists.neo4j.org/mailman/listinfo/user
 
  ___
  Neo4j mailing list
  User@lists.neo4j.org
  https://lists.neo4j.org/mailman/listinfo/user
 
  ___
  Neo4j mailing list
  User@lists.neo4j.org
  https://lists.neo4j.org/mailman/listinfo/user
 
  ___
  Neo4j mailing list
  User@lists.neo4j.org
  https://lists.neo4j.org/mailman/listinfo/user
 
 
 
 
  --
  Jacob Hansson
  Phone: +46 (0) 763503395
  Twitter: @jakewins

Re: [Neo4j] REST traverse deprecation

2011-11-02 Thread Peter Neubauer
 or Groovy code, so we can document that things are
  working as expected and not loose functionality.
 
 
  Sounds like a really good idea.
 
 
 
  The JavaScript exposure then would totally go away from the REST API
  and possibly be factored out into a plugin like Groovy/Gremlin. Or
  dropped.
 
 
  I vote dropped :)
 
 
 
  WDYT?
 
  Cheers,
 
  /peter neubauer
 
  GTalk:      neubauer.peter
  Skype       peter.neubauer
  Phone       +46 704 106975
  LinkedIn   http://www.linkedin.com/in/neubauer
  Twitter      http://twitter.com/peterneubauer
 
  http://www.neo4j.org              - NOSQL for the Enterprise.
  http://startupbootcamp.org/    - Öresund - Innovation happens HERE.
 
 
 
  On Tue, Nov 1, 2011 at 9:31 AM, Jacob Hansson
  jacob.hans...@neotechnology.com wrote:
  On Tue, Nov 1, 2011 at 5:22 PM, Peter Neubauer 
  peter.neuba...@neotechnology.com wrote:
 
  Nope,
  I mean a server side script execution (which we already are doing
 in
  http://docs.neo4j.org/chunked/snapshot/rest-api-traverse.html) to
  execute traversal API code on the server. Neo4js is a client
 driver.
 
 
  Remember that adding yet another way to talk to the server comes at
 a
  cost
  of confusion and spreading engineering focus thin.
 
  I don't think we should do this unless there is a good answer to the
  question:
 
  *Is there anything* *that this solves that is not solved by Cypher
 or
  Gremlin, and if so, why don't we expand Cypher or Gremlin to
  incorporate
  that use case instead?
 
  *Collecting our efforts in fewer buckets means that improvements
 will
  benefit everyone, not just the group that uses the Groovy endpoint,
 or
  the
  Traversal API, or the JS endpoint and so on.
 
 
  Cheers,
 
  /peter neubauer
 
  GTalk:      neubauer.peter
  Skype       peter.neubauer
  Phone       +46 704 106975
  LinkedIn   http://www.linkedin.com/in/neubauer
  Twitter      http://twitter.com/peterneubauer
 
  http://www.neo4j.org              - NOSQL for the Enterprise.
  http://startupbootcamp.org/    - Öresund - Innovation happens
 HERE.
 
 
 
  On Tue, Nov 1, 2011 at 9:19 AM, Andres Taylor
  andres.tay...@neotechnology.com wrote:
  You, something like Neo4js https://github.com/neo4j/neo4js?
 We've
  had
  that since forever. Or do you mean something different?
 
  Andrés
 
  On Tue, Nov 1, 2011 at 5:06 PM, Peter Neubauer 
  peter.neuba...@neotechnology.com wrote:
 
  Also,
  there is another possibility: We are exposing a ECMA script
  execution
  engine via the Traverse enpoints. Instead of trying to shoehorn
 the
  traversal API into REST calls and then anyway executing script
  snippets, Why not exposing a JavaScript plugin along exactly the
  same
  lines as the Groovy plugin, and provide examples on how to use
 the
  same usecases via that plugin, so we cover the traversal API that
  way?
 
  Cheers,
 
  /peter neubauer
 
  GTalk:      neubauer.peter
  Skype       peter.neubauer
  Phone       +46 704 106975
  LinkedIn   http://www.linkedin.com/in/neubauer
  Twitter      http://twitter.com/peterneubauer
 
  http://www.neo4j.org              - NOSQL for the Enterprise.
  http://startupbootcamp.org/    - Öresund - Innovation happens
 HERE.
 
 
 
  On Tue, Nov 1, 2011 at 9:00 AM, Jacob Hansson
  jacob.hans...@neotechnology.com wrote:
  It would be interesting to rephrase the question like this:
 
  Are there any use cases that the REST traversal API covers,
 that we
  currently cannot replicate in Cypher or Gremlin?
 
  On Sun, Oct 30, 2011 at 2:45 PM, Peter Neubauer 
  peter.neuba...@neotechnology.com wrote:
 
  Well,
  Andres has been putting the first algo into cypher and we are
  thinking
  of
  exposing them there so thru can be used as path functions in an
  expression.
  However, that will be step 2. WDYT?
  On Oct 29, 2011 6:47 PM, maxdemarzi maxdema...@gmail.com
  wrote:
 
  I think the traversal rest api is fine for my purposes, but if
  cypher
  is
  where we want to go long term, then we need to deprecate it in
  1.6
  and
  drop
  it in 1.7.
 
  This gives us some time to update our libraries and for cypher
  to
  settle
  down.
 
  Are you guys thinking of getting rid of the rest built in
 graph
  algorithms
  or are those there to stay?
 
  --
  View this message in context:
 
 
 
 
 
 
 http://neo4j-community-discussions.438527.n3.nabble.com/Neo4j-REST-traverse-deprecation-tp3460396p3464979.html
  Sent from the Neo4j Community Discussions mailing list archive
  at
  Nabble.com.
  ___
  Neo4j mailing list
  User@lists.neo4j.org
  https://lists.neo4j.org/mailman/listinfo/user
 
  ___
  Neo4j mailing list
  User@lists.neo4j.org
  https://lists.neo4j.org/mailman/listinfo/user
 
 
 
 
  --
  Jacob Hansson
  Phone: +46 (0) 763503395
  Twitter: @jakewins
  ___
  Neo4j mailing list
  User@lists.neo4j.org
  https://lists.neo4j.org/mailman/listinfo/user

Re: [Neo4j] REST traverse deprecation

2011-11-02 Thread Kevin Dieter
.
  
   Michael
  
   Am 02.11.2011 um 10:08 schrieb Jacob Hansson:
  
   On Tue, Nov 1, 2011 at 5:37 PM, Peter Neubauer 
   peter.neuba...@neotechnology.com wrote:
  
   Well,
   I think that Cypher is not yes taking into account Uniqueness, or
 is
   it Andres? Otherwise, most of the normal traversals are covered.
  
   To keep things consistent and give people a way of doing fine
 grained
   traversals, I would then suggest to document all the existing
  examples
   using Cypher or Groovy code, so we can document that things are
   working as expected and not loose functionality.
  
  
   Sounds like a really good idea.
  
  
  
   The JavaScript exposure then would totally go away from the REST
 API
   and possibly be factored out into a plugin like Groovy/Gremlin. Or
   dropped.
  
  
   I vote dropped :)
  
  
  
   WDYT?
  
   Cheers,
  
   /peter neubauer
  
   GTalk:  neubauer.peter
   Skype   peter.neubauer
   Phone   +46 704 106975
   LinkedIn   http://www.linkedin.com/in/neubauer
   Twitter  http://twitter.com/peterneubauer
  
   http://www.neo4j.org  - NOSQL for the Enterprise.
   http://startupbootcamp.org/- Öresund - Innovation happens
 HERE.
  
  
  
   On Tue, Nov 1, 2011 at 9:31 AM, Jacob Hansson
   jacob.hans...@neotechnology.com wrote:
   On Tue, Nov 1, 2011 at 5:22 PM, Peter Neubauer 
   peter.neuba...@neotechnology.com wrote:
  
   Nope,
   I mean a server side script execution (which we already are doing
  in
   http://docs.neo4j.org/chunked/snapshot/rest-api-traverse.html)
 to
   execute traversal API code on the server. Neo4js is a client
  driver.
  
  
   Remember that adding yet another way to talk to the server comes
 at
  a
   cost
   of confusion and spreading engineering focus thin.
  
   I don't think we should do this unless there is a good answer to
 the
   question:
  
   *Is there anything* *that this solves that is not solved by Cypher
  or
   Gremlin, and if so, why don't we expand Cypher or Gremlin to
   incorporate
   that use case instead?
  
   *Collecting our efforts in fewer buckets means that improvements
  will
   benefit everyone, not just the group that uses the Groovy
 endpoint,
  or
   the
   Traversal API, or the JS endpoint and so on.
  
  
   Cheers,
  
   /peter neubauer
  
   GTalk:  neubauer.peter
   Skype   peter.neubauer
   Phone   +46 704 106975
   LinkedIn   http://www.linkedin.com/in/neubauer
   Twitter  http://twitter.com/peterneubauer
  
   http://www.neo4j.org  - NOSQL for the Enterprise.
   http://startupbootcamp.org/- Öresund - Innovation happens
  HERE.
  
  
  
   On Tue, Nov 1, 2011 at 9:19 AM, Andres Taylor
   andres.tay...@neotechnology.com wrote:
   You, something like Neo4js https://github.com/neo4j/neo4js?
  We've
   had
   that since forever. Or do you mean something different?
  
   Andrés
  
   On Tue, Nov 1, 2011 at 5:06 PM, Peter Neubauer 
   peter.neuba...@neotechnology.com wrote:
  
   Also,
   there is another possibility: We are exposing a ECMA script
   execution
   engine via the Traverse enpoints. Instead of trying to shoehorn
  the
   traversal API into REST calls and then anyway executing script
   snippets, Why not exposing a JavaScript plugin along exactly
 the
   same
   lines as the Groovy plugin, and provide examples on how to use
  the
   same usecases via that plugin, so we cover the traversal API
 that
   way?
  
   Cheers,
  
   /peter neubauer
  
   GTalk:  neubauer.peter
   Skype   peter.neubauer
   Phone   +46 704 106975
   LinkedIn   http://www.linkedin.com/in/neubauer
   Twitter  http://twitter.com/peterneubauer
  
   http://www.neo4j.org  - NOSQL for the Enterprise.
   http://startupbootcamp.org/- Öresund - Innovation happens
  HERE.
  
  
  
   On Tue, Nov 1, 2011 at 9:00 AM, Jacob Hansson
   jacob.hans...@neotechnology.com wrote:
   It would be interesting to rephrase the question like this:
  
   Are there any use cases that the REST traversal API covers,
  that we
   currently cannot replicate in Cypher or Gremlin?
  
   On Sun, Oct 30, 2011 at 2:45 PM, Peter Neubauer 
   peter.neuba...@neotechnology.com wrote:
  
   Well,
   Andres has been putting the first algo into cypher and we are
   thinking
   of
   exposing them there so thru can be used as path functions in
 an
   expression.
   However, that will be step 2. WDYT?
   On Oct 29, 2011 6:47 PM, maxdemarzi maxdema...@gmail.com
   wrote:
  
   I think the traversal rest api is fine for my purposes, but
 if
   cypher
   is
   where we want to go long term, then we need to deprecate it
 in
   1.6
   and
   drop
   it in 1.7.
  
   This gives us some time to update our libraries and for
 cypher
   to
   settle
   down.
  
   Are you guys thinking of getting rid of the rest built in
  graph
   algorithms
   or are those there to stay?
  
   --
   View this message in context:
  
  
  
  
  
  
 
 http://neo4j-community-discussions.438527.n3.nabble.com/Neo4j-REST

Re: [Neo4j] REST traverse deprecation

2011-11-02 Thread Michael Hunger
 the traversal rest api is fine for my purposes, but if
 cypher
 is
 where we want to go long term, then we need to deprecate it in
 1.6
 and
 drop
 it in 1.7.
 
 This gives us some time to update our libraries and for cypher
 to
 settle
 down.
 
 Are you guys thinking of getting rid of the rest built in
 graph
 algorithms
 or are those there to stay?
 
 --
 View this message in context:
 
 
 
 
 
 
 http://neo4j-community-discussions.438527.n3.nabble.com/Neo4j-REST-traverse-deprecation-tp3460396p3464979.html
 Sent from the Neo4j Community Discussions mailing list archive
 at
 Nabble.com.
 ___
 Neo4j mailing list
 User@lists.neo4j.org
 https://lists.neo4j.org/mailman/listinfo/user
 
 ___
 Neo4j mailing list
 User@lists.neo4j.org
 https://lists.neo4j.org/mailman/listinfo/user
 
 
 
 
 --
 Jacob Hansson
 Phone: +46 (0) 763503395
 Twitter: @jakewins
 ___
 Neo4j mailing list
 User@lists.neo4j.org
 https://lists.neo4j.org/mailman/listinfo/user
 
 ___
 Neo4j mailing list
 User@lists.neo4j.org
 https://lists.neo4j.org/mailman/listinfo/user
 
 ___
 Neo4j mailing list
 User@lists.neo4j.org
 https://lists.neo4j.org/mailman/listinfo/user
 
 ___
 Neo4j mailing list
 User@lists.neo4j.org
 https://lists.neo4j.org/mailman/listinfo/user
 
 
 
 
 --
 Jacob Hansson
 Phone: +46 (0) 763503395
 Twitter: @jakewins
 ___
 Neo4j mailing list
 User@lists.neo4j.org
 https://lists.neo4j.org/mailman/listinfo/user
 
 ___
 Neo4j mailing list
 User@lists.neo4j.org
 https://lists.neo4j.org/mailman/listinfo/user
 
 
 
 
 --
 Jacob Hansson
 Phone: +46 (0) 763503395
 Twitter: @jakewins
 ___
 Neo4j mailing list
 User@lists.neo4j.org
 https://lists.neo4j.org/mailman/listinfo/user
 
 ___
 Neo4j mailing list
 User@lists.neo4j.org
 https://lists.neo4j.org/mailman/listinfo/user
 
 
 
 
 --
 Jacob Hansson
 Phone: +46 (0) 763503395
 Twitter: @jakewins
 ___
 Neo4j mailing list
 User@lists.neo4j.org
 https://lists.neo4j.org/mailman/listinfo/user
 
 ___
 Neo4j mailing list
 User@lists.neo4j.org
 https://lists.neo4j.org/mailman/listinfo/user
 
 ___
 Neo4j mailing list
 User@lists.neo4j.org
 https://lists.neo4j.org/mailman/listinfo/user
 
 
 
 
 --
 Jacob Hansson
 Phone: +46 (0) 763503395
 Twitter: @jakewins
 ___
 Neo4j mailing list
 User@lists.neo4j.org
 https://lists.neo4j.org/mailman/listinfo/user
 
 ___
 Neo4j mailing list
 User@lists.neo4j.org
 https://lists.neo4j.org/mailman/listinfo/user

___
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user


Re: [Neo4j] REST traverse deprecation

2011-11-02 Thread Peter Neubauer
:
 It would be interesting to rephrase the question like this:

 Are there any use cases that the REST traversal API covers,
 that we
 currently cannot replicate in Cypher or Gremlin?

 On Sun, Oct 30, 2011 at 2:45 PM, Peter Neubauer 
 peter.neuba...@neotechnology.com wrote:

 Well,
 Andres has been putting the first algo into cypher and we are
 thinking
 of
 exposing them there so thru can be used as path functions in an
 expression.
 However, that will be step 2. WDYT?
 On Oct 29, 2011 6:47 PM, maxdemarzi maxdema...@gmail.com
 wrote:

 I think the traversal rest api is fine for my purposes, but if
 cypher
 is
 where we want to go long term, then we need to deprecate it in
 1.6
 and
 drop
 it in 1.7.

 This gives us some time to update our libraries and for cypher
 to
 settle
 down.

 Are you guys thinking of getting rid of the rest built in
 graph
 algorithms
 or are those there to stay?

 --
 View this message in context:






 http://neo4j-community-discussions.438527.n3.nabble.com/Neo4j-REST-traverse-deprecation-tp3460396p3464979.html
 Sent from the Neo4j Community Discussions mailing list archive
 at
 Nabble.com.
 ___
 Neo4j mailing list
 User@lists.neo4j.org
 https://lists.neo4j.org/mailman/listinfo/user

 ___
 Neo4j mailing list
 User@lists.neo4j.org
 https://lists.neo4j.org/mailman/listinfo/user




 --
 Jacob Hansson
 Phone: +46 (0) 763503395
 Twitter: @jakewins
 ___
 Neo4j mailing list
 User@lists.neo4j.org
 https://lists.neo4j.org/mailman/listinfo/user

 ___
 Neo4j mailing list
 User@lists.neo4j.org
 https://lists.neo4j.org/mailman/listinfo/user

 ___
 Neo4j mailing list
 User@lists.neo4j.org
 https://lists.neo4j.org/mailman/listinfo/user

 ___
 Neo4j mailing list
 User@lists.neo4j.org
 https://lists.neo4j.org/mailman/listinfo/user




 --
 Jacob Hansson
 Phone: +46 (0) 763503395
 Twitter: @jakewins
 ___
 Neo4j mailing list
 User@lists.neo4j.org
 https://lists.neo4j.org/mailman/listinfo/user

 ___
 Neo4j mailing list
 User@lists.neo4j.org
 https://lists.neo4j.org/mailman/listinfo/user




 --
 Jacob Hansson
 Phone: +46 (0) 763503395
 Twitter: @jakewins
 ___
 Neo4j mailing list
 User@lists.neo4j.org
 https://lists.neo4j.org/mailman/listinfo/user

 ___
 Neo4j mailing list
 User@lists.neo4j.org
 https://lists.neo4j.org/mailman/listinfo/user




 --
 Jacob Hansson
 Phone: +46 (0) 763503395
 Twitter: @jakewins
 ___
 Neo4j mailing list
 User@lists.neo4j.org
 https://lists.neo4j.org/mailman/listinfo/user

 ___
 Neo4j mailing list
 User@lists.neo4j.org
 https://lists.neo4j.org/mailman/listinfo/user

 ___
 Neo4j mailing list
 User@lists.neo4j.org
 https://lists.neo4j.org/mailman/listinfo/user




 --
 Jacob Hansson
 Phone: +46 (0) 763503395
 Twitter: @jakewins
 ___
 Neo4j mailing list
 User@lists.neo4j.org
 https://lists.neo4j.org/mailman/listinfo/user

 ___
 Neo4j mailing list
 User@lists.neo4j.org
 https://lists.neo4j.org/mailman/listinfo/user

 ___
 Neo4j mailing list
 User@lists.neo4j.org
 https://lists.neo4j.org/mailman/listinfo/user

___
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user


Re: [Neo4j] REST traverse deprecation

2011-11-01 Thread Jacob Hansson
It would be interesting to rephrase the question like this:

Are there any use cases that the REST traversal API covers, that we
currently cannot replicate in Cypher or Gremlin?

On Sun, Oct 30, 2011 at 2:45 PM, Peter Neubauer 
peter.neuba...@neotechnology.com wrote:

 Well,
 Andres has been putting the first algo into cypher and we are thinking of
 exposing them there so thru can be used as path functions in an expression.
 However, that will be step 2. WDYT?
 On Oct 29, 2011 6:47 PM, maxdemarzi maxdema...@gmail.com wrote:

  I think the traversal rest api is fine for my purposes, but if cypher is
  where we want to go long term, then we need to deprecate it in 1.6 and
 drop
  it in 1.7.
 
  This gives us some time to update our libraries and for cypher to settle
  down.
 
  Are you guys thinking of getting rid of the rest built in graph
 algorithms
  or are those there to stay?
 
  --
  View this message in context:
 
 http://neo4j-community-discussions.438527.n3.nabble.com/Neo4j-REST-traverse-deprecation-tp3460396p3464979.html
  Sent from the Neo4j Community Discussions mailing list archive at
  Nabble.com.
  ___
  Neo4j mailing list
  User@lists.neo4j.org
  https://lists.neo4j.org/mailman/listinfo/user
 
 ___
 Neo4j mailing list
 User@lists.neo4j.org
 https://lists.neo4j.org/mailman/listinfo/user




-- 
Jacob Hansson
Phone: +46 (0) 763503395
Twitter: @jakewins
___
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user


Re: [Neo4j] REST traverse deprecation

2011-11-01 Thread Peter Neubauer
Also,
there is another possibility: We are exposing a ECMA script execution
engine via the Traverse enpoints. Instead of trying to shoehorn the
traversal API into REST calls and then anyway executing script
snippets, Why not exposing a JavaScript plugin along exactly the same
lines as the Groovy plugin, and provide examples on how to use the
same usecases via that plugin, so we cover the traversal API that way?

Cheers,

/peter neubauer

GTalk:      neubauer.peter
Skype       peter.neubauer
Phone       +46 704 106975
LinkedIn   http://www.linkedin.com/in/neubauer
Twitter      http://twitter.com/peterneubauer

http://www.neo4j.org              - NOSQL for the Enterprise.
http://startupbootcamp.org/    - Öresund - Innovation happens HERE.



On Tue, Nov 1, 2011 at 9:00 AM, Jacob Hansson
jacob.hans...@neotechnology.com wrote:
 It would be interesting to rephrase the question like this:

 Are there any use cases that the REST traversal API covers, that we
 currently cannot replicate in Cypher or Gremlin?

 On Sun, Oct 30, 2011 at 2:45 PM, Peter Neubauer 
 peter.neuba...@neotechnology.com wrote:

 Well,
 Andres has been putting the first algo into cypher and we are thinking of
 exposing them there so thru can be used as path functions in an expression.
 However, that will be step 2. WDYT?
 On Oct 29, 2011 6:47 PM, maxdemarzi maxdema...@gmail.com wrote:

  I think the traversal rest api is fine for my purposes, but if cypher is
  where we want to go long term, then we need to deprecate it in 1.6 and
 drop
  it in 1.7.
 
  This gives us some time to update our libraries and for cypher to settle
  down.
 
  Are you guys thinking of getting rid of the rest built in graph
 algorithms
  or are those there to stay?
 
  --
  View this message in context:
 
 http://neo4j-community-discussions.438527.n3.nabble.com/Neo4j-REST-traverse-deprecation-tp3460396p3464979.html
  Sent from the Neo4j Community Discussions mailing list archive at
  Nabble.com.
  ___
  Neo4j mailing list
  User@lists.neo4j.org
  https://lists.neo4j.org/mailman/listinfo/user
 
 ___
 Neo4j mailing list
 User@lists.neo4j.org
 https://lists.neo4j.org/mailman/listinfo/user




 --
 Jacob Hansson
 Phone: +46 (0) 763503395
 Twitter: @jakewins
 ___
 Neo4j mailing list
 User@lists.neo4j.org
 https://lists.neo4j.org/mailman/listinfo/user

___
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user


Re: [Neo4j] REST traverse deprecation

2011-11-01 Thread Andres Taylor
You, something like Neo4js https://github.com/neo4j/neo4js? We've had
that since forever. Or do you mean something different?

Andrés

On Tue, Nov 1, 2011 at 5:06 PM, Peter Neubauer 
peter.neuba...@neotechnology.com wrote:

 Also,
 there is another possibility: We are exposing a ECMA script execution
 engine via the Traverse enpoints. Instead of trying to shoehorn the
 traversal API into REST calls and then anyway executing script
 snippets, Why not exposing a JavaScript plugin along exactly the same
 lines as the Groovy plugin, and provide examples on how to use the
 same usecases via that plugin, so we cover the traversal API that way?

 Cheers,

 /peter neubauer

 GTalk:  neubauer.peter
 Skype   peter.neubauer
 Phone   +46 704 106975
 LinkedIn   http://www.linkedin.com/in/neubauer
 Twitter  http://twitter.com/peterneubauer

 http://www.neo4j.org  - NOSQL for the Enterprise.
 http://startupbootcamp.org/- Öresund - Innovation happens HERE.



 On Tue, Nov 1, 2011 at 9:00 AM, Jacob Hansson
 jacob.hans...@neotechnology.com wrote:
  It would be interesting to rephrase the question like this:
 
  Are there any use cases that the REST traversal API covers, that we
  currently cannot replicate in Cypher or Gremlin?
 
  On Sun, Oct 30, 2011 at 2:45 PM, Peter Neubauer 
  peter.neuba...@neotechnology.com wrote:
 
  Well,
  Andres has been putting the first algo into cypher and we are thinking
 of
  exposing them there so thru can be used as path functions in an
 expression.
  However, that will be step 2. WDYT?
  On Oct 29, 2011 6:47 PM, maxdemarzi maxdema...@gmail.com wrote:
 
   I think the traversal rest api is fine for my purposes, but if cypher
 is
   where we want to go long term, then we need to deprecate it in 1.6 and
  drop
   it in 1.7.
  
   This gives us some time to update our libraries and for cypher to
 settle
   down.
  
   Are you guys thinking of getting rid of the rest built in graph
  algorithms
   or are those there to stay?
  
   --
   View this message in context:
  
 
 http://neo4j-community-discussions.438527.n3.nabble.com/Neo4j-REST-traverse-deprecation-tp3460396p3464979.html
   Sent from the Neo4j Community Discussions mailing list archive at
   Nabble.com.
   ___
   Neo4j mailing list
   User@lists.neo4j.org
   https://lists.neo4j.org/mailman/listinfo/user
  
  ___
  Neo4j mailing list
  User@lists.neo4j.org
  https://lists.neo4j.org/mailman/listinfo/user
 
 
 
 
  --
  Jacob Hansson
  Phone: +46 (0) 763503395
  Twitter: @jakewins
  ___
  Neo4j mailing list
  User@lists.neo4j.org
  https://lists.neo4j.org/mailman/listinfo/user
 
 ___
 Neo4j mailing list
 User@lists.neo4j.org
 https://lists.neo4j.org/mailman/listinfo/user

___
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user


Re: [Neo4j] REST traverse deprecation

2011-11-01 Thread Peter Neubauer
Nope,
I mean a server side script execution (which we already are doing in
http://docs.neo4j.org/chunked/snapshot/rest-api-traverse.html) to
execute traversal API code on the server. Neo4js is a client driver.

Cheers,

/peter neubauer

GTalk:      neubauer.peter
Skype       peter.neubauer
Phone       +46 704 106975
LinkedIn   http://www.linkedin.com/in/neubauer
Twitter      http://twitter.com/peterneubauer

http://www.neo4j.org              - NOSQL for the Enterprise.
http://startupbootcamp.org/    - Öresund - Innovation happens HERE.



On Tue, Nov 1, 2011 at 9:19 AM, Andres Taylor
andres.tay...@neotechnology.com wrote:
 You, something like Neo4js https://github.com/neo4j/neo4js? We've had
 that since forever. Or do you mean something different?

 Andrés

 On Tue, Nov 1, 2011 at 5:06 PM, Peter Neubauer 
 peter.neuba...@neotechnology.com wrote:

 Also,
 there is another possibility: We are exposing a ECMA script execution
 engine via the Traverse enpoints. Instead of trying to shoehorn the
 traversal API into REST calls and then anyway executing script
 snippets, Why not exposing a JavaScript plugin along exactly the same
 lines as the Groovy plugin, and provide examples on how to use the
 same usecases via that plugin, so we cover the traversal API that way?

 Cheers,

 /peter neubauer

 GTalk:      neubauer.peter
 Skype       peter.neubauer
 Phone       +46 704 106975
 LinkedIn   http://www.linkedin.com/in/neubauer
 Twitter      http://twitter.com/peterneubauer

 http://www.neo4j.org              - NOSQL for the Enterprise.
 http://startupbootcamp.org/    - Öresund - Innovation happens HERE.



 On Tue, Nov 1, 2011 at 9:00 AM, Jacob Hansson
 jacob.hans...@neotechnology.com wrote:
  It would be interesting to rephrase the question like this:
 
  Are there any use cases that the REST traversal API covers, that we
  currently cannot replicate in Cypher or Gremlin?
 
  On Sun, Oct 30, 2011 at 2:45 PM, Peter Neubauer 
  peter.neuba...@neotechnology.com wrote:
 
  Well,
  Andres has been putting the first algo into cypher and we are thinking
 of
  exposing them there so thru can be used as path functions in an
 expression.
  However, that will be step 2. WDYT?
  On Oct 29, 2011 6:47 PM, maxdemarzi maxdema...@gmail.com wrote:
 
   I think the traversal rest api is fine for my purposes, but if cypher
 is
   where we want to go long term, then we need to deprecate it in 1.6 and
  drop
   it in 1.7.
  
   This gives us some time to update our libraries and for cypher to
 settle
   down.
  
   Are you guys thinking of getting rid of the rest built in graph
  algorithms
   or are those there to stay?
  
   --
   View this message in context:
  
 
 http://neo4j-community-discussions.438527.n3.nabble.com/Neo4j-REST-traverse-deprecation-tp3460396p3464979.html
   Sent from the Neo4j Community Discussions mailing list archive at
   Nabble.com.
   ___
   Neo4j mailing list
   User@lists.neo4j.org
   https://lists.neo4j.org/mailman/listinfo/user
  
  ___
  Neo4j mailing list
  User@lists.neo4j.org
  https://lists.neo4j.org/mailman/listinfo/user
 
 
 
 
  --
  Jacob Hansson
  Phone: +46 (0) 763503395
  Twitter: @jakewins
  ___
  Neo4j mailing list
  User@lists.neo4j.org
  https://lists.neo4j.org/mailman/listinfo/user
 
 ___
 Neo4j mailing list
 User@lists.neo4j.org
 https://lists.neo4j.org/mailman/listinfo/user

 ___
 Neo4j mailing list
 User@lists.neo4j.org
 https://lists.neo4j.org/mailman/listinfo/user

___
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user


Re: [Neo4j] REST traverse deprecation

2011-11-01 Thread Jacob Hansson
On Tue, Nov 1, 2011 at 5:22 PM, Peter Neubauer 
peter.neuba...@neotechnology.com wrote:

 Nope,
 I mean a server side script execution (which we already are doing in
 http://docs.neo4j.org/chunked/snapshot/rest-api-traverse.html) to
 execute traversal API code on the server. Neo4js is a client driver.


Remember that adding yet another way to talk to the server comes at a cost
of confusion and spreading engineering focus thin.

I don't think we should do this unless there is a good answer to the
question:

*Is there anything* *that this solves that is not solved by Cypher or
Gremlin, and if so, why don't we expand Cypher or Gremlin to incorporate
that use case instead?

*Collecting our efforts in fewer buckets means that improvements will
benefit everyone, not just the group that uses the Groovy endpoint, or the
Traversal API, or the JS endpoint and so on.


 Cheers,

 /peter neubauer

 GTalk:  neubauer.peter
 Skype   peter.neubauer
 Phone   +46 704 106975
 LinkedIn   http://www.linkedin.com/in/neubauer
 Twitter  http://twitter.com/peterneubauer

 http://www.neo4j.org  - NOSQL for the Enterprise.
 http://startupbootcamp.org/- Öresund - Innovation happens HERE.



 On Tue, Nov 1, 2011 at 9:19 AM, Andres Taylor
 andres.tay...@neotechnology.com wrote:
  You, something like Neo4js https://github.com/neo4j/neo4js? We've had
  that since forever. Or do you mean something different?
 
  Andrés
 
  On Tue, Nov 1, 2011 at 5:06 PM, Peter Neubauer 
  peter.neuba...@neotechnology.com wrote:
 
  Also,
  there is another possibility: We are exposing a ECMA script execution
  engine via the Traverse enpoints. Instead of trying to shoehorn the
  traversal API into REST calls and then anyway executing script
  snippets, Why not exposing a JavaScript plugin along exactly the same
  lines as the Groovy plugin, and provide examples on how to use the
  same usecases via that plugin, so we cover the traversal API that way?
 
  Cheers,
 
  /peter neubauer
 
  GTalk:  neubauer.peter
  Skype   peter.neubauer
  Phone   +46 704 106975
  LinkedIn   http://www.linkedin.com/in/neubauer
  Twitter  http://twitter.com/peterneubauer
 
  http://www.neo4j.org  - NOSQL for the Enterprise.
  http://startupbootcamp.org/- Öresund - Innovation happens HERE.
 
 
 
  On Tue, Nov 1, 2011 at 9:00 AM, Jacob Hansson
  jacob.hans...@neotechnology.com wrote:
   It would be interesting to rephrase the question like this:
  
   Are there any use cases that the REST traversal API covers, that we
   currently cannot replicate in Cypher or Gremlin?
  
   On Sun, Oct 30, 2011 at 2:45 PM, Peter Neubauer 
   peter.neuba...@neotechnology.com wrote:
  
   Well,
   Andres has been putting the first algo into cypher and we are
 thinking
  of
   exposing them there so thru can be used as path functions in an
  expression.
   However, that will be step 2. WDYT?
   On Oct 29, 2011 6:47 PM, maxdemarzi maxdema...@gmail.com wrote:
  
I think the traversal rest api is fine for my purposes, but if
 cypher
  is
where we want to go long term, then we need to deprecate it in 1.6
 and
   drop
it in 1.7.
   
This gives us some time to update our libraries and for cypher to
  settle
down.
   
Are you guys thinking of getting rid of the rest built in graph
   algorithms
or are those there to stay?
   
--
View this message in context:
   
  
 
 http://neo4j-community-discussions.438527.n3.nabble.com/Neo4j-REST-traverse-deprecation-tp3460396p3464979.html
Sent from the Neo4j Community Discussions mailing list archive at
Nabble.com.
___
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user
   
   ___
   Neo4j mailing list
   User@lists.neo4j.org
   https://lists.neo4j.org/mailman/listinfo/user
  
  
  
  
   --
   Jacob Hansson
   Phone: +46 (0) 763503395
   Twitter: @jakewins
   ___
   Neo4j mailing list
   User@lists.neo4j.org
   https://lists.neo4j.org/mailman/listinfo/user
  
  ___
  Neo4j mailing list
  User@lists.neo4j.org
  https://lists.neo4j.org/mailman/listinfo/user
 
  ___
  Neo4j mailing list
  User@lists.neo4j.org
  https://lists.neo4j.org/mailman/listinfo/user
 
 ___
 Neo4j mailing list
 User@lists.neo4j.org
 https://lists.neo4j.org/mailman/listinfo/user




-- 
Jacob Hansson
Phone: +46 (0) 763503395
Twitter: @jakewins
___
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user


Re: [Neo4j] REST traverse deprecation

2011-11-01 Thread Peter Neubauer
Well,
I think that Cypher is not yes taking into account Uniqueness, or is
it Andres? Otherwise, most of the normal traversals are covered.

To keep things consistent and give people a way of doing fine grained
traversals, I would then suggest to document all the existing examples
using Cypher or Groovy code, so we can document that things are
working as expected and not loose functionality.

The JavaScript exposure then would totally go away from the REST API
and possibly be factored out into a plugin like Groovy/Gremlin. Or
dropped.

WDYT?

Cheers,

/peter neubauer

GTalk:      neubauer.peter
Skype       peter.neubauer
Phone       +46 704 106975
LinkedIn   http://www.linkedin.com/in/neubauer
Twitter      http://twitter.com/peterneubauer

http://www.neo4j.org              - NOSQL for the Enterprise.
http://startupbootcamp.org/    - Öresund - Innovation happens HERE.



On Tue, Nov 1, 2011 at 9:31 AM, Jacob Hansson
jacob.hans...@neotechnology.com wrote:
 On Tue, Nov 1, 2011 at 5:22 PM, Peter Neubauer 
 peter.neuba...@neotechnology.com wrote:

 Nope,
 I mean a server side script execution (which we already are doing in
 http://docs.neo4j.org/chunked/snapshot/rest-api-traverse.html) to
 execute traversal API code on the server. Neo4js is a client driver.


 Remember that adding yet another way to talk to the server comes at a cost
 of confusion and spreading engineering focus thin.

 I don't think we should do this unless there is a good answer to the
 question:

 *Is there anything* *that this solves that is not solved by Cypher or
 Gremlin, and if so, why don't we expand Cypher or Gremlin to incorporate
 that use case instead?

 *Collecting our efforts in fewer buckets means that improvements will
 benefit everyone, not just the group that uses the Groovy endpoint, or the
 Traversal API, or the JS endpoint and so on.


 Cheers,

 /peter neubauer

 GTalk:      neubauer.peter
 Skype       peter.neubauer
 Phone       +46 704 106975
 LinkedIn   http://www.linkedin.com/in/neubauer
 Twitter      http://twitter.com/peterneubauer

 http://www.neo4j.org              - NOSQL for the Enterprise.
 http://startupbootcamp.org/    - Öresund - Innovation happens HERE.



 On Tue, Nov 1, 2011 at 9:19 AM, Andres Taylor
 andres.tay...@neotechnology.com wrote:
  You, something like Neo4js https://github.com/neo4j/neo4js? We've had
  that since forever. Or do you mean something different?
 
  Andrés
 
  On Tue, Nov 1, 2011 at 5:06 PM, Peter Neubauer 
  peter.neuba...@neotechnology.com wrote:
 
  Also,
  there is another possibility: We are exposing a ECMA script execution
  engine via the Traverse enpoints. Instead of trying to shoehorn the
  traversal API into REST calls and then anyway executing script
  snippets, Why not exposing a JavaScript plugin along exactly the same
  lines as the Groovy plugin, and provide examples on how to use the
  same usecases via that plugin, so we cover the traversal API that way?
 
  Cheers,
 
  /peter neubauer
 
  GTalk:      neubauer.peter
  Skype       peter.neubauer
  Phone       +46 704 106975
  LinkedIn   http://www.linkedin.com/in/neubauer
  Twitter      http://twitter.com/peterneubauer
 
  http://www.neo4j.org              - NOSQL for the Enterprise.
  http://startupbootcamp.org/    - Öresund - Innovation happens HERE.
 
 
 
  On Tue, Nov 1, 2011 at 9:00 AM, Jacob Hansson
  jacob.hans...@neotechnology.com wrote:
   It would be interesting to rephrase the question like this:
  
   Are there any use cases that the REST traversal API covers, that we
   currently cannot replicate in Cypher or Gremlin?
  
   On Sun, Oct 30, 2011 at 2:45 PM, Peter Neubauer 
   peter.neuba...@neotechnology.com wrote:
  
   Well,
   Andres has been putting the first algo into cypher and we are
 thinking
  of
   exposing them there so thru can be used as path functions in an
  expression.
   However, that will be step 2. WDYT?
   On Oct 29, 2011 6:47 PM, maxdemarzi maxdema...@gmail.com wrote:
  
I think the traversal rest api is fine for my purposes, but if
 cypher
  is
where we want to go long term, then we need to deprecate it in 1.6
 and
   drop
it in 1.7.
   
This gives us some time to update our libraries and for cypher to
  settle
down.
   
Are you guys thinking of getting rid of the rest built in graph
   algorithms
or are those there to stay?
   
--
View this message in context:
   
  
 
 http://neo4j-community-discussions.438527.n3.nabble.com/Neo4j-REST-traverse-deprecation-tp3460396p3464979.html
Sent from the Neo4j Community Discussions mailing list archive at
Nabble.com.
___
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user
   
   ___
   Neo4j mailing list
   User@lists.neo4j.org
   https://lists.neo4j.org/mailman/listinfo/user
  
  
  
  
   --
   Jacob Hansson
   Phone: +46 (0) 763503395
   Twitter: @jakewins

Re: [Neo4j] REST traverse deprecation

2011-10-30 Thread Peter Neubauer
Well,
Andres has been putting the first algo into cypher and we are thinking of
exposing them there so thru can be used as path functions in an expression.
However, that will be step 2. WDYT?
On Oct 29, 2011 6:47 PM, maxdemarzi maxdema...@gmail.com wrote:

 I think the traversal rest api is fine for my purposes, but if cypher is
 where we want to go long term, then we need to deprecate it in 1.6 and drop
 it in 1.7.

 This gives us some time to update our libraries and for cypher to settle
 down.

 Are you guys thinking of getting rid of the rest built in graph algorithms
 or are those there to stay?

 --
 View this message in context:
 http://neo4j-community-discussions.438527.n3.nabble.com/Neo4j-REST-traverse-deprecation-tp3460396p3464979.html
 Sent from the Neo4j Community Discussions mailing list archive at
 Nabble.com.
 ___
 Neo4j mailing list
 User@lists.neo4j.org
 https://lists.neo4j.org/mailman/listinfo/user

___
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user


Re: [Neo4j] REST traverse deprecation

2011-10-29 Thread maxdemarzi
I think the traversal rest api is fine for my purposes, but if cypher is
where we want to go long term, then we need to deprecate it in 1.6 and drop
it in 1.7.

This gives us some time to update our libraries and for cypher to settle
down.

Are you guys thinking of getting rid of the rest built in graph algorithms
or are those there to stay?

--
View this message in context: 
http://neo4j-community-discussions.438527.n3.nabble.com/Neo4j-REST-traverse-deprecation-tp3460396p3464979.html
Sent from the Neo4j Community Discussions mailing list archive at Nabble.com.
___
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user


[Neo4j] REST traverse deprecation

2011-10-28 Thread Peter Neubauer
Hi all,
I think that the whole concept of
http://docs.neo4j.org/chunked/snapshot/rest-api-traverse.html is
broken, since it tries to emulate the embedded traversal logic in
REST, which is just broken.

With Cypher and Gremlin being MUCH better suited to do declarative and
scripted traversals, I think it is time to deprecate this part of the
REST API.

Is anyone going to be very sad if I go ahead and do that?

Cheers,

/peter neubauer

GTalk:      neubauer.peter
Skype       peter.neubauer
Phone       +46 704 106975
LinkedIn   http://www.linkedin.com/in/neubauer
Twitter      http://twitter.com/peterneubauer

http://www.neo4j.org              - NOSQL for the Enterprise.
http://startupbootcamp.org/    - Öresund - Innovation happens HERE.
___
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user


Re: [Neo4j] REST traverse deprecation

2011-10-28 Thread Mattias Persson
I think it's probably a good thing to deprecate it because:

a) it's inferior to native traversals
b) cypher and gremlin does these things much better

2011/10/28 Peter Neubauer peter.neuba...@neotechnology.com

 Hi all,
 I think that the whole concept of
 http://docs.neo4j.org/chunked/snapshot/rest-api-traverse.html is
 broken, since it tries to emulate the embedded traversal logic in
 REST, which is just broken.

 With Cypher and Gremlin being MUCH better suited to do declarative and
 scripted traversals, I think it is time to deprecate this part of the
 REST API.

 Is anyone going to be very sad if I go ahead and do that?

 Cheers,

 /peter neubauer

 GTalk:  neubauer.peter
 Skype   peter.neubauer
 Phone   +46 704 106975
 LinkedIn   http://www.linkedin.com/in/neubauer
 Twitter  http://twitter.com/peterneubauer

 http://www.neo4j.org  - NOSQL for the Enterprise.
 http://startupbootcamp.org/- Öresund - Innovation happens HERE.
 ___
 Neo4j mailing list
 User@lists.neo4j.org
 https://lists.neo4j.org/mailman/listinfo/user




-- 
Mattias Persson, [matt...@neotechnology.com]
Hacker, Neo Technology
www.neotechnology.com
___
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user


Re: [Neo4j] REST traverse deprecation

2011-10-28 Thread Jim Webber
From the high church of REST, I have no objections.

Blessed be the Roy, for he hath delivered us from RPC. Or something.

Jim
___
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user


Re: [Neo4j] REST traverse deprecation

2011-10-28 Thread Peter Neubauer
Also,
If we do that, I propose that we move the Cypher and Gremlin plugins into
server. WDYT?
On Oct 28, 2011 12:03 PM, Jim Webber j...@neotechnology.com wrote:

 From the high church of REST, I have no objections.

 Blessed be the Roy, for he hath delivered us from RPC. Or something.

 Jim
 ___
 Neo4j mailing list
 User@lists.neo4j.org
 https://lists.neo4j.org/mailman/listinfo/user

___
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user


Re: [Neo4j] REST traverse deprecation

2011-10-28 Thread Jim Webber
 If we do that, I propose that we move the Cypher and Gremlin plugins into
 server. WDYT?

I'm ambivalent about that. What end-user benefits are there versus shipping 
them as plugins?

Jim

___
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user


Re: [Neo4j] REST traverse deprecation

2011-10-28 Thread Rick Bullotta
...but maybe offer different install bundles.

The other danger of forcing them into the server distro is that it increases 
the likelihood of dependency conflicts.  

-Original Message-
From: user-boun...@lists.neo4j.org [mailto:user-boun...@lists.neo4j.org] On 
Behalf Of Rick Bullotta
Sent: Friday, October 28, 2011 7:16 AM
To: Neo4j user discussions
Subject: Re: [Neo4j] REST traverse deprecation

Don't Bloat.

This also allows the plug-ins and language bindings to evolve at a difference 
pace/cycle than the server.  I'd say keep them separate.

-Original Message-
From: user-boun...@lists.neo4j.org [mailto:user-boun...@lists.neo4j.org] On 
Behalf Of Jim Webber
Sent: Friday, October 28, 2011 7:11 AM
To: Neo4j user discussions
Subject: Re: [Neo4j] REST traverse deprecation

 If we do that, I propose that we move the Cypher and Gremlin plugins into
 server. WDYT?

I'm ambivalent about that. What end-user benefits are there versus shipping 
them as plugins?

Jim

___
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user
___
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user
___
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user


Re: [Neo4j] REST traverse deprecation

2011-10-28 Thread Peter Neubauer
Thank you Max! The AREL for Cypher sounds very interesting!

Do you think the traversal rest api us doing its job for you given the power
of hhe häva version? I can even think if having a query method on the
embedded api so it fits...
On Oct 29, 2011 12:19 AM, maxdemarzi maxdema...@gmail.com wrote:

 This change will kill phase 2 (the part that tries to mimic the Neo4j.rb
 API) of Neography since I use it to provide idiomatic access to neo4j.

 For example:
 def suggestions_for(node)
  node.incoming(:friends).order(breadth first).uniqueness(node
 global).filter(position.length() == 2;).depth(2)
 end

 The options are:
 1. Have users enter cypher directly ex. node.cypher(some cypher query
 here)
 2. Create an AREL for Cypher.  ( https://github.com/rails/arel )If it's
 the
 right thing for Neo4j then do what you have to do.

 --
 View this message in context:
 http://neo4j-community-discussions.438527.n3.nabble.com/Neo4j-REST-traverse-deprecation-tp3460396p3462201.html
 Sent from the Neo4j Community Discussions mailing list archive at
 Nabble.com.
 ___
 Neo4j mailing list
 User@lists.neo4j.org
 https://lists.neo4j.org/mailman/listinfo/user

___
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user