Is HTTP as a protocol the problem? Maybe, it does have some advantages
though.
I think we all agree the REST API is not finished yet.
We talked last week about Batch operations as a poor-man's replacement for
Transactions and the concerns that brought up.
I think the REST API will get there e
I don't have paging in yet... I've been slacking I know. I'll get to it soon.
On Fri, Jul 1, 2011 at 7:27 AM, Michael Hunger
wrote:
> You have a few options here:
>
> * paging is right now only supported in the REST API for traversals the other
> request types will get it in 1.5 (so you could u
Something like:
@neo.traverse(node1,"paths", {"order" => "breadth first",
"uniqueness" => "relationship path",
"relationships" => {"type"=>
"knows", "direction" => "out"},
y saying that this problem is best
> solved by a relational db instead of a graph db?
>
> Thanks,
> Aseem
>
> On Wed, Jun 8, 2011 at 11:21 PM, Max De Marzi Jr. wrote:
>
>> Aseem,
>>
>> Which users tagged what? SELECT DISTINCT user_id FROM USER_TAGS WHERE
>&
Aseem,
Which users tagged what? SELECT DISTINCT user_id FROM USER_TAGS WHERE
bookmark_id = x
Which bookmarks did a user tag? SELECT DISTINCT bookmark_id FROM
USER_TAGS WHERE user_id = x
Which bookmarks were tagged with x? SELECT DISTINCT bookmark_id FROM
USER_TAGS WHERE tag_id = x
What question a
Use Traverse
http://components.neo4j.org/neo4j-server/milestone/rest.html#Traverse
with Fullpath as the return type.
See https://github.com/maxdemarzi/neovigator/blob/master/neovigator.rb
for an example.
def neighbours
{"order" => "depth first",
"uniqueness"=> "none",
"
Take a look at
https://github.com/maxdemarzi/neography/blob/master/examples/facebook.rb
for an example but basically it's just:
@neo.traverse(node,"nodes", {"order" => "breadth first",
"uniqueness" => "node global",
I think each has their place. This is how I see it:
If you're going "all in" (your graph db is your primary db) then use
the Andreas Neo4j.rb gem.
If you're not, (your graph db is used as a secondary db or as an index
for graph specific tasks) then it may be easier to use my Neography
gem.
I bel
Add Something like:
"return filter": { "language": "javascript", "body":
"position.lastRelationship().hasProperty(\"userGroupId\")
position.lastRelationship().getProperty(\"userGroupId\") == 111;"}})
to your traversal.
On Mon, Mar 21, 2011 at 9:44 AM, Kevin Dieter wrote:
> Hi,
>
> I am using t
Oh and removing the "http://neography.org:7474/"; from
neo4j-server.properties did the trick for me as far as being able to
get webadmin to work. Both data and other tabs are coming up fine at
http://neography.org
On Fri, Mar 11, 2011 at 4:03 PM, Max De Marzi Jr. wrote:
> v0.
v0.0.12 of https://github.com/maxdemarzi/neography is out there with
the thin wrapper updates to index deletions and advanced queries.
I'll do the phase 2 version of these two next.
On Fri, Mar 11, 2011 at 12:40 PM, Max De Marzi Jr. wrote:
> My Steps:
>
> Pulled DB from 1.3.M02
u have an existing db? In that case you need to upgrade explicitly...
>
> /peter
>
> Send from my mobile device, please excuse typos and brevity.
> On Mar 11, 2011 4:45 PM, "Max De Marzi Jr." wrote:
>> Hum... webadmin is not coming up for me...
>>
>> Th
Hum... webadmin is not coming up for me...
This is what I changed in the neo4j-server.propeties.
# REST endpoint for the data API
# Note the / in the end is mandatory
#org.neo4j.server.webadmin.data.uri=http://localhost:7474/db/data/
org.neo4j.server.webadmin.data.uri=http://neography.org:7474/db
I believe you can tie in to returnedNodesCount()
http://components.neo4j.org/neo4j-examples/1.3.M02/apidocs/index.html?org/neo4j/graphdb/StopEvaluator.html
@neo.traverse(school,"nodes", {"order" => "breadth first",
"uniqueness" => "node global",
Traverse the graph returning all nodes with at least 1 matching property.
For each node returned add up the matching properties to node A and
put that in a list.
Sort the list.
On Thu, Feb 24, 2011 at 1:49 AM, Cedric Hurst wrote:
> Not sure if its the best one, but one possible strategy would be
hip_index(name, "fulltext") # creates a
relationship index with "fulltext" option
On Wed, Feb 23, 2011 at 9:57 AM, Max De Marzi Jr. wrote:
>>>Since I want to later search for nodes by their mysql_id, do I need to
>>>create an index and add the
>
st wanted to make sure
> that I am not missing
> something in my understanding of neography.
>
> thanks again.
>
> Charlie White
> Avvo, Inc.
> 1218 Third Avenue, Suite 300neo.get_node_relationships(
> Seattle, WA 98101
>
> On Tuesday 22 February 2011 7:48:35 pm Max De
Here you go...
Full code with setup:
https://github.com/maxdemarzi/neography/blob/master/examples/traversal_example2.rb
Interesting bit:
def graduated_with_me(student)
student = student["self"].split('/').last
student_attended = @neo.get_node_relationships(student)[0]
graduated = student_
Guys,
So I ran into the Ask Ken project ( http://askken.heroku.com/ ) by
Michael Aufreiter yesterdat, and though it was pretty awesome... so I
ported it to using Neo4j.
Check it out: http://neovigator.heroku.com/
On github at https://github.com/maxdemarzi/neovigator
Regards,
Max
___
The indexing piece is really lacking in Neography. I keep meaning to
get around to it, and it's about time I did (next week).
It would be nice if we had full indexing support in the REST API first
since whatever I implement will need to change when we do.
If the specs are done, but not yet imple
Not sure if this will work
dd for windows:
http://www.chrysocome.net/dd
command (if = input file, of = output file):
dd if=nodestore.id of=/dev/null
On Tue, Feb 1, 2011 at 11:52 AM, Dave Hesketh
wrote:
> Peter
> As you suggested, I rerun the searches without closing the db. On the 2nd
> iterat
Couldn't you put a web server in front of it (Apache, Nginx, etc) and
filter out the post requests while passing the gets?
On Wed, Jan 19, 2011 at 3:11 PM, Jim Webber wrote:
> Hi Hemant,
>
> Bringing up the REST API in readonly mode is not possible I'm afraid.
>
> We could consider adding it to t
This page has how to do exactly that.
https://github.com/maxdemarzi/neography/blob/master/examples/facebook.rb
Try:
{
"order": "breadth first",
"uniqueness": "node global",
"relationships": [
{ "type": "friends", "direction": "in" },
],
"return filter": {
"language": "javascript
Talk: 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 - Your high performance graph database.
> http://www.thoughtmade.co
Try upping the number of nodes created. Try 200, 500, 1000.
On Fri, Nov 26, 2010 at 9:30 AM, Peter Neubauer
wrote:
> Ok,
> Andreas helped me to get RVM set up and things working.
>
> When are you getting the problem? My testing ran good ...
>
> /peter
>
> On Wed, Nov 24,
h milliseconds) and will be converted (from string,
int, long, float, double) into whatever the idiomatic way for handling
dates is (in the language of the library being used).
On Wed, Nov 24, 2010 at 2:15 AM, Mattias Persson
wrote:
> Neo4j REST/Server handles array values:
>
> { "
Hum... not sure try just:
rspec spec/integration/rest_experimental_spec.rb
On Tue, Nov 23, 2010 at 3:20 PM, Peter Neubauer
wrote:
> Mmh,
> to start with, I am stuck with some OpenSSL error when trying to run rspecs:
>
> bundle exec rspec spec/integration/rest_node_spec.rb
> JRuby limited openss
l of this come from the limitations on JSON by itself. It's more
> usual of what we think to use a domain specific implementation for the
> JSON interchange. For example, Cassandra uses JSON2SStable to
> import/export data, and mongoDB created BSON [1] to support Date and
> binary
What about:
"data": {"name" : "NeoS::Max"}, "age": {"NeoI::31" }
"data": {"name" : "NeoS[]::Max,Javier,Peter"}, "age": {"NeoI[]::31,29,33" }
On Tue, Nov 23, 2010 at 4:59 PM, Rick Bullotta
wrote:
> FWIW, we store all dates as milliseconds relative to UTC, and pass them
> around in that format.
Hum...maybe we should have the type of object in the json string?
"data": {"name" : {"string" : "Max"}, "age": {"int" :31} }
also how about arrays? "string[]" : ["Max", "Javier","Peter"]
On Tue, Nov 23, 2010 at 1:02 PM, Javier de la Rosa wrote:
> I was writting some extra tests for the pytho
ndinavia's coolest Bring-a-Thing party.
>
>
>
> On Tue, Nov 23, 2010 at 9:23 AM, Max De Marzi Jr.
> wrote:
>> Hello,
>>
>> I started adding "fake" bulk operations to neography (
>> https://github.com/maxdemarzi/neography ) but ran into issues
Hello,
I started adding "fake" bulk operations to neography (
https://github.com/maxdemarzi/neography ) but ran into issues when
trying to create or get more than 100 nodes at a time.
ubuntu ~/forks/neography: bundle exec rspec spec/integration/rest_bulk_spec.rb
No Extensions Found: /home/max/.ne
Hum...
Check out the gist, I'm getting 7 node level 5's back.
Maybe my node layout is wrong, tweak it to what you have and we can
try a few things...
On Mon, Nov 22, 2010 at 1:28 AM, Anees Haider wrote:
> Thanks Max, It is now at least full filling some of the requirements. Now
> the only limit
Node().getId()!=#{starting_id};"},
"return filter" => {
"language" => "javascript",
"body" =>
"position.endNode().hasProperty('NODE_LEVEL') &a
"result filter"? shouldn't that be "return filter" or was that not a
copy and paste?
On Sun, Nov 21, 2010 at 11:34 PM, Anees Haider wrote:
> Hi all,
>
>
>
> I want to write an prune evaluator for neo4j-rest, such that we have a node
> type "N" (having property "p" set to value "v", i.e. NODE_LEVE
Jose,
Cual es tu pregunta en espa~nol? Yo puedo traducir por ti.
Parece que estas preguntado cual es el modelo que neo4j usa, pero no
entendemos a lo que te refieres.
El modelo es cualquier cosa que puedes modelar con simple puntos y
relaciones. Los puntos pueden ser de cualqier forma (con tal
That example is for the OLD gem.
Try http://github.com/andreasronge/neo4j-rails-example
Andreas is almost ready with http://github.com/andreasronge/neo4j
On Sat, Oct 30, 2010 at 2:19 AM, Ahmed Abdelsalam
wrote:
> Hi,
>
>
>
> I'm working on a project for using Neo4j as a database for JRuby-base
nce and consume a lot of memory.
>
> Regards,
> Johan
>
> On Thu, Jul 8, 2010 at 4:13 PM, Max De Marzi Jr.
> wrote:
> > Can somebody verify the max number of relationship types? If it is 64k,
> is
> > there a way to increase it without significant effort?
Can somebody verify the max number of relationship types? If it is 64k, is
there a way to increase it without significant effort?
> I believe you can have something like 64k
> relationship types, so using the relationship type for the route name is
> possible.
___
Ilya,
Remember that we have no 3 way relationships (as in types), you have use a
node for anything that connects more than two objects. So break down Show
into Episodes if you want to to track the 1st (or only) airing of that
episode.
Actor 1 = Node 1 Class Actor
Show 1 = Node 2 Class Show
Netwo
I'm no expert, but I tried to answer your questions.
On Sat, May 1, 2010 at 7:23 PM, ilya wrote:
> Hi all,
>
>
>
> I went through all docs on Neo site and it looks very interesting.
> However,
> I still have couple of things I was wondering about that I couldn’t find
> answers to. I hope I can
On first traversal, add a relationship to a "found node" to each node that
would return, and check for this relationship on the second traversal?
Maybe create a unique id, set a property or add a node property with the
unique id on the first traversal, and check for this property on the second
trav
You know this is something that I think needs to be made clear... using just
the graph is not the right way to go unless you have a very special
application.
I was trying to traverse over cities/people/jobs/skills and they were taking
a while (as in 10-15 seconds).
Then I did it sqlserver... less
I've had similar issues and they way I've done it (which may not be the
right way) is to run the first traversal and store the returned nodes. Then
run the second traversal and return only if it is contained in the set of
returned nodes in the first traversal.
The traverses hit each node only onc
Hello,
What is the proper way to handle things that have only a few choices like:
gender (male/female/unknown)
status (active, inactive, purged)
race(10 choices + other)
etc.
As properties of a Person node, or as nodes that link to the Person node?
Pros or Cons of each method?
How about someth
45 matches
Mail list logo