neo4j-contrib / neoclipse

Graph Database Tool
219 stars 136 forks source link

neo4j Database without Node [0] #32

Open IjonTichyRaumpilot opened 12 years ago

IjonTichyRaumpilot commented 12 years ago

Hi, when I create a neo4j database with Tinkerpop blueprints 2.0, there is no node [0] and neoclipse doesn't show any data. Is there a way to allow the database not having a node [0] but also seeing the data?

Michael

jexp commented 12 years ago

Tinkerpop 1.x had an option for Neo4jGraph to keep the root node (a boolean flag), can you check that?

IjonTichyRaumpilot commented 12 years ago

Yes, there is a workaround as mentioned here https://github.com/tinkerpop/blueprints/issues/206 but when I clear the graph I have to make sure not to delete node [0] which is a little bit painful. Or if you are not aware of the workaround the new Tinkerpop 2.0 removes node [0] and you just see nothing. Currently there is also a little discussion about it here. https://groups.google.com/group/gremlin-users/browse_thread/thread/1cfaab74d60c1b2e

nrkkalyan commented 12 years ago

Hi,

Currently neoclipse don't support to show if there is no 0 node id. It is a limitation in the current version, Its in our list to add support for that.

Kalyan

On Sat, May 26, 2012 at 6:25 PM, Ijon Tichy Raumpilot < reply@reply.github.com

wrote:

Hi, when I create a neo4j database with Tinkerpop blueprints 2.0, there is no node [0] and neoclipse doesn't show any data. Is there a way to allow the database not having a node [0] but also seeing the data?

Michael


Reply to this email directly or view it on GitHub: https://github.com/neo4j/neoclipse/issues/32

Thanks and Regards N Radhakrishna Kalyan

peterneubauer commented 12 years ago

I think the right way is to enable Cypher queries to be executed as searches, so you can do

start n=node(*) return n

/peter

On Sat, May 26, 2012 at 6:25 PM, Ijon Tichy Raumpilot reply@reply.github.com wrote:

Hi, when I create a neo4j database with Tinkerpop blueprints 2.0, there is no node [0] and neoclipse doesn't show any data. Is there a way to allow the database not having a node [0] but also seeing the data?

Michael


Reply to this email directly or view it on GitHub: https://github.com/neo4j/neoclipse/issues/32

jexp commented 12 years ago

Agreed

nrkkalyan commented 12 years ago

Ok, Will do so.. Thank you for input.

Kalyan

On Sat, May 26, 2012 at 7:46 PM, Michael Hunger < reply@reply.github.com

wrote:

Agreed


Reply to this email directly or view it on GitHub: https://github.com/neo4j/neoclipse/issues/32#issuecomment-5948445

Thanks and Regards N Radhakrishna Kalyan

nawroth commented 12 years ago

Older versions of Neoclipse simply scanned for other nodes if there was no Node[0]. Was there a problem with this behavior as it's been removed?

nrkkalyan commented 12 years ago

I will compare the old behavior and try to fix that this week. Will get back to you in case any road blocks.

Thank you.

On Sun, May 27, 2012 at 9:34 PM, Anders Nawroth < reply@reply.github.com

wrote:

Older versions of Neoclipse simply scanned for other nodes if there was no Node[0]. Was there a problem with this behavior as it's been removed?


Reply to this email directly or view it on GitHub: https://github.com/neo4j/neoclipse/issues/32#issuecomment-5955767

Thanks and Regards N Radhakrishna Kalyan

pducrot commented 11 years ago

With no Node[0], if you search for a specific node, you may display part of the graph, but then you get as many alerts of missing Node[0] as displayed edges. Would it be possible to stop posting these alerts?

jgutierrezt commented 11 years ago

It seems this issue was not completely addressed, as I have just recently downloaded neoclipse and have ran into the same problem - no node(0) and nothing gets displayed. Is there a way to around this besides recreating the DB from scratch? thanks a lot.

patb23 commented 11 years ago

I am using neoclipse-1.9 and don't have node 0, hence nothing shows up. I did try 'search for node' by selecting one of the Node type and by providing key-value, still did not get any. Cypher Editor is working fine

jotomo commented 11 years ago

Should be fixed by #46 and #47. No release including those changes has been made yet though.

pducrot commented 11 years ago

Hi, the latter should work, make sure you created an index for each property key. Cheers Pierre

Le 10 juil. 2013 à 14:54, patb23 notifications@github.com a écrit :

I am using neoclipse-1.9 and don't have node 0, hence nothing shows up. I did try 'search for node' by selecting one of the Node type and by providing key-value, still did not get any. Cypher Editor is working fine

— Reply to this email directly or view it on GitHub.

patb23 commented 11 years ago

Thank you. It worked for a node that had index on a property.

On Wednesday, July 10, 2013, Pierre wrote:

Hi, the latter should work, make sure you created an index for each property key. Cheers Pierre

Le 10 juil. 2013 à 14:54, patb23 <notifications@github.com<javascript:_e({}, 'cvml', 'notifications@github.com');>> a écrit :

I am using neoclipse-1.9 and don't have node 0, hence nothing shows up. I did try 'search for node' by selecting one of the Node type and by providing key-value, still did not get any. Cypher Editor is working fine

— Reply to this email directly or view it on GitHub.

— Reply to this email directly or view it on GitHubhttps://github.com/neo4j/neoclipse/issues/32#issuecomment-20763629 .

nawroth commented 11 years ago

Here's fresh packages built from master:

http://dist.neo4j.org/neoclipse/neoclipse-1.9.1-win32.win32.x86.zip http://dist.neo4j.org/neoclipse/neoclipse-1.9.1-win32.win32.x86_64.zip http://dist.neo4j.org/neoclipse/neoclipse-1.9.1-macosx.cocoa.x86.tar.gz http://dist.neo4j.org/neoclipse/neoclipse-1.9.1-macosx.cocoa.x86_64.tar.gz http://dist.neo4j.org/neoclipse/neoclipse-1.9.1-linux.gtk.x86.tar.gz http://dist.neo4j.org/neoclipse/neoclipse-1.9.1-linux.gtk.x86_64.tar.gz

Try them out!

ChristianWulf commented 11 years ago

Thanks, works. However, the nodes' property keys are not displayed anymore. Moreover, setting the nodes' name to a particular property key's value does not work either.

jexp commented 11 years ago

@ChristianWulf Can you share a screenshot showing the two issues? Thanks !

ChristianWulf commented 11 years ago

node label issue

jotomo commented 11 years ago

@ChristianWulf Check the view settings (small downward pointing arrow in the upper-right of the "Database graph" view). Ensure "Filter node properties" is checked to apply your graph decoration settings and also check "Node Id" to have the ids displayed. Note that the view settings aren't persisted across sessions.

ChristianWulf commented 11 years ago

node key display issue

jotomo commented 11 years ago

@ChristianWulf Okay, so that rules out that common issue, thanks for checking. I can't produce the problem on my installation though...

jotomo commented 11 years ago

@ChristianWulf Checking "Node property values" seems to do the trick :-)

ChristianWulf commented 11 years ago

It seems that "Node property keys" is only considered if "Node property values" is checked. But it's ok for my purposes. I'm only interested in the value of the key "name".

@jotomo Right ;)