Re: [Neo4j] Representing Statements About Statements

2011-03-16 Thread Peter Neubauer
Chris,
the current approach to that is through the Tinkerpop Sail
implementation on top of Neo4j, see
https://github.com/tinkerpop/blueprints/wiki/Sail-Ouplementation.

Basically, you do

Sail sail = new GraphSail(new Neo4jGraph('rdf-store'));
SailConnection sc = sail.getConnection();
ValueFactory vf = sail.getValueFactory();
sc.addStatement(vf.createURI("http://tinkerpop.com#1";),
vf.createURI("http://tinkerpop.com#knows";),
vf.createURI("http://tinkerpop.com#3";),
vf.createURI("http://tinkerpop.com";));
sc.addStatement(vf.createURI("http://tinkerpop.com#1";),
vf.createURI("http://tinkerpop.com#name";), vf.createLiteral("marko"),
vf.createURI("http://tinkerpop.com";));
sc.addStatement(vf.createURI("http://tinkerpop.com#3";),
vf.createURI("http://tinkerpop.com#name";), vf.createLiteral("josh"),
vf.createURI("http://tinkerpop.com";));

System.out.println("get statements: ?s ?p ?o ?g");
CloseableIteration results =
sc.getStatements(null, null, null, false);
while(results.hasNext()) {
System.out.println(results.next());
}

System.out.println("\nget statements: http://tinkerpop.com#3 ?p ?o ?g");
results = sc.getStatements(vf.createURI("http://tinkerpop.com#3";),
null, null, false);
while(results.hasNext()) {
System.out.println(results.next());
}

HTH? Let me know if you need help setting this up!

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               - Your high performance graph database.
http://startupbootcamp.org/    - Öresund - Innovation happens HERE.
http://www.thoughtmade.com - Scandinavia's coolest Bring-a-Thing party.



On Thu, Mar 17, 2011 at 3:01 AM, Chris Spencer  wrote:
> Hi,
>
> I'm new to Neo4j, and I'm trying to evaluate it as an RDF quadstore.
> Specifically, where a quad is a 4-tuple of the format (id, subject,
> predicate, object), quadstores can represent statements about
> statements by using the id from one quad as the subject, predicate, or
> object in another quad. Some stores also support a feature called
> named graphs, where entire sets of quads are grouped, allowing the
> group to have statements bound to it in a similar way.
>
> Has anyone used Neo4j to do anything like this? If so, how is it
> accomplished, and what is the Neo4j-equivalent terminology?
>
> Regards,
> Chris
> ___
> 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] Neo4j spatial

2011-03-16 Thread Peter Neubauer
Saikat,
which approach to use - atomic REST calls or a server plugin to work
in the background - depends on the load of things. If you are
importing stuff in the beginning, I would not use REST. If you are
thinking about "normal" operations with moderate load, I think REST
will be fine.

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               - Your high performance graph database.
http://startupbootcamp.org/    - Öresund - Innovation happens HERE.
http://www.thoughtmade.com - Scandinavia's coolest Bring-a-Thing party.



On Thu, Mar 17, 2011 at 1:11 AM, Saikat Kanjilal  wrote:
> I've written a Quasi-mashup which loads points from google maps using a 
> background thread in Spring to initially load points into neo4j, what I'm 
> trying to evaluate with the goal of simplifying the architecture is the 
> following:
>
> 1) Should I rejigger the tomcat service code to have a webservice call to add 
> points which would be called through the steps you describe below from google 
> or bing maps given that  I already have service API calls that do traversals 
> with pipes and shortest path calculations
>
> 2) Take the rexster and http approach to upload the points through some 
> automated process from my maps and stick with the http approach when doing 
> traversals through gremlin and shortest path calculations.
>
>
> Also I am trying to play with neo4j-spatial and trying to figure out how to 
> leverage it moving forward
>
> That was a mouthful :)
> Sent from my iPhone
>
> On Mar 16, 2011, at 4:49 PM, Craig Taverner  wrote:
>
>> Hi Saikat,
>>
>> There are a few places you can look for code samples. One of the best places
>> is the set of test cases included in neo4j spatial. You can find them at
>> https://github.com/neo4j/neo4j-spatial/tree/master/src/test/java/org/neo4j/gis/spatial.
>> In particular, since you are interested mostly in point data, take a look at
>> TestSimplePointLayer.javaand
>> LayersTest.java
>> .
>>
>> What you will find in those classes is Java code for adding points to the
>> database, similar, but more extensive than the code in the blog.
>>
>> Regarding your specific case, if you are working with a normal google map or
>> bing map, and want to port the points into a local database, you would need
>> to export them, and write a simple importer. If you have written a mashup
>> between google or bing maps and your own neo4j-based web application, you
>> should be able to use some client side coding to automate this, accessing
>> the map, and posting the points directly into your own server (where of
>> course you would have some code adding the points to the database). Does
>> this answer your question?
>>
>> Regards, Craig
>>
>> On Thu, Mar 17, 2011 at 12:32 AM, Saikat Kanjilal wrote:
>>
>>> Hi Folks,
>>> I was reading through the docs on neo4j spatial and was wondering about a
>>> few things:
>>>
>>> 1) If I have a google or bing map and I manually plot some points can I use
>>> neo4j spatial to automate the loading of those points into my neo4j db?
>>>
>>> 2) Are there code samples for neo4j-spatial or implementations I can look
>>> at for a deeper look at the API's etc?
>>>
>>> Best Regards
>>>
>>> Sent from my iPhone
>>> ___
>>> 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


[Neo4j] Problems installing neo4j.py on Mac

2011-03-16 Thread Rense Lange
I cannot figure out why installing neo for python fails on my Mac. Can anyone 
deduce the reason from the following screen messages?
---

rense-langes-mac-pro:neo4j-python renselange$ sudo python setup.py 
installPassword:
Traceback (most recent call last):
 File "setup.py", line 146, in 
   main()
 File "setup.py", line 134, in main
   args[attr] = pom[attr]
 File "/Users/renselange/neo4j-python/pom.py", line 58, in __getitem__
   element)
 File "/Users/renselange/neo4j-python/pom.py", line 57, in 
   return self.pattern.sub(lambda match:self[match.groupdict()['var']],
 File "/Users/renselange/neo4j-python/pom.py", line 54, in __getitem__
   element = self.parent[path]
 File "/Users/renselange/neo4j-python/pom.py", line 91, in __getitem__
   return replacement.get(path, lambda s,x:x)(self, self.__pom[path])
 File "/Users/renselange/neo4j-python/pom.py", line 56, in __getitem__
   raise KeyError(path)
KeyError: 'project.artifactId'

--
The preceding step, per instructions, seemed to work fine:
-

rense-langes-mac-pro:~ renselange$ svn export 
https://svn.neo4j.org/components/neo4j.py/trunk neo4j-python
Aneo4j-python
Aneo4j-python/NOTICE.txt
Aneo4j-python/LICENSE.txt
Aneo4j-python/pom.py
Aneo4j-python/TODO.txt
Aneo4j-python/COPYRIGHT.txt
Aneo4j-python/jccext.py
Aneo4j-python/setup.py
Aneo4j-python/src
Aneo4j-python/src/test
Aneo4j-python/src/test/python
Aneo4j-python/src/test/python/neo4j_test
Aneo4j-python/src/test/python/neo4j_test/_support.py
Aneo4j-python/src/test/python/neo4j_test/primitives.py
Aneo4j-python/src/test/python/neo4j_test/__init__.py
Aneo4j-python/src/test/python/neo4j_test/__main__.py
Aneo4j-python/src/test/python/neo4j_test/transactional.py
Aneo4j-python/src/test/python/neo4j_test/matrix.py
Aneo4j-python/src/test/python/neo4j_test/index.py
Aneo4j-python/src/main
Aneo4j-python/src/main/python
Aneo4j-python/src/main/python/neo4j
Aneo4j-python/src/main/python/neo4j/_primitives.py
Aneo4j-python/src/main/python/neo4j/_py_compat.py
Aneo4j-python/src/main/python/neo4j/_traverse.py
Aneo4j-python/src/main/python/neo4j/_hooks
Aneo4j-python/src/main/python/neo4j/_hooks/__init__.py
Aneo4j-python/src/main/python/neo4j/__init__.py
Aneo4j-python/src/main/python/neo4j/_backend
Aneo4j-python/src/main/python/neo4j/_backend/reflection.py
Aneo4j-python/src/main/python/neo4j/_backend/pure.py
Aneo4j-python/src/main/python/neo4j/_backend/__init__.py
Aneo4j-python/src/main/python/neo4j/_backend/jcc.py
Aneo4j-python/src/main/python/neo4j/_backend/native.py
Aneo4j-python/src/main/python/neo4j/_backend/cli.py
Aneo4j-python/src/main/python/neo4j/_index.py
Aneo4j-python/src/main/python/neo4j/classes
Aneo4j-python/src/main/python/neo4j/__bootstrap__.py
Aneo4j-python/src/main/python/neo4j/_base.py
Aneo4j-python/src/main/python/neo4j/model
Aneo4j-python/src/main/python/neo4j/model/django_model
Aneo4j-python/src/main/python/neo4j/model/django_model/__init__.py
Aneo4j-python/src/main/python/neo4j/model/fields.pyx
Aneo4j-python/src/main/python/neo4j/model/__init__.py
Aneo4j-python/src/main/python/neo4j/model/base.pyx
Aneo4j-python/src/main/python/neo4j/_util.py
Aneo4j-python/src/main/python/neo4j/util.py
Aneo4j-python/src/main/python/neo4j/_compat.py
Aneo4j-python/src/main/python/neo4j/tracsupport.py
Aneo4j-python/src/main/python/neo4j/_core.py
Aneo4j-python/src/script
Aneo4j-python/src/script/generate-apt.py
Aneo4j-python/src/site
Aneo4j-python/src/site/site.xml
Aneo4j-python/src/site/apt
Aneo4j-python/src/site/apt/apidoc
Aneo4j-python/src/site/apt/apidoc/index.apt
Aneo4j-python/src/examples
Aneo4j-python/src/examples/python
Aneo4j-python/src/examples/python/djangosites
Aneo4j-python/src/examples/python/djangosites/manage.py
Aneo4j-python/src/examples/python/djangosites/faces
Aneo4j-python/src/examples/python/djangosites/faces/views.py
Aneo4j-python/src/examples/python/djangosites/faces/__init__.py
Aneo4j-python/src/examples/python/djangosites/faces/tests.py
Aneo4j-python/src/examples/python/djangosites/faces/models.py
Aneo4j-python/src/examples/python/djangosites/faces/urls.py
Aneo4j-python/src/examples/python/djangosites/blog
Aneo4j-python/src/examples/python/djangosites/blog/views.py
Aneo4j-python/src/examples/python/djangosites/blog/__init__.py
Aneo4j-python/src/examples/python/djangosites/blog/tests.py
Aneo4j-python/src/examples/python/djangosites/blog/models.py
Aneo4j-python/src/examples/python/djangosites/blog/urls.py
Aneo4j-python/src/examples/python/djangosites/__init__.py
Aneo4j-python/src

[Neo4j] Representing Statements About Statements

2011-03-16 Thread Chris Spencer
Hi,

I'm new to Neo4j, and I'm trying to evaluate it as an RDF quadstore.
Specifically, where a quad is a 4-tuple of the format (id, subject,
predicate, object), quadstores can represent statements about
statements by using the id from one quad as the subject, predicate, or
object in another quad. Some stores also support a feature called
named graphs, where entire sets of quads are grouped, allowing the
group to have statements bound to it in a similar way.

Has anyone used Neo4j to do anything like this? If so, how is it
accomplished, and what is the Neo4j-equivalent terminology?

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


Re: [Neo4j] Running Neoclipse from Eclipse IDE

2011-03-16 Thread Anders Nawroth
Hi!

> I am pointing the database file in the preferences before hitting the start
> button.

Seems to be some problem with the windows version and file paths with 
spaces in them. I just tried to fix at least some of the problems and 
uploaded new binaries for the windows 1.3.M04 versions, if you like to 
try that.

There's a log file located in {working-dir}/workspace/.metadata/.log - 
it could be helpful for me if you can send it to me. {working-dir} is 
usually you Neoclipse install directory.

/anders

>
> Regards,
> Gunda.
>
> On Wed, Mar 16, 2011 at 4:34 PM, Peter Neubauer<
> peter.neuba...@neotechnology.com>  wrote:
>
>> Bhargav,
>> what Neo4j version are you using to create the graph, and what version
>> of Neoclipse are you running?
>>
>> Also, are you pointing out the database directory correctly in the
>> preferences before hitting the green start button? We need to update
>> the screencast after 1.3 to reflect this ...
>>
>> 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   - Your high performance graph database.
>> http://startupbootcamp.org/- Öresund - Innovation happens HERE.
>> http://www.thoughtmade.com - Scandinavia's coolest Bring-a-Thing party.
>>
>>
>>
>> On Wed, Mar 16, 2011 at 4:28 PM, bhargav gunda
>> wrote:
>>> Respected,
>>> Thanks for your time.
>>> And one more doubt is like, I tried to build the neoclipse by following
>> the
>>> video instructions(kickstart for neoclipse) and from wiki but I am
>> not
>>> able to visualize the graph with my code even I connected it to database
>>> file. what would be the problem for this?
>>>
>>> Regards,
>>> Gunda.
>>>
>>> On Wed, Mar 16, 2011 at 3:58 PM, Michael Hunger<
>>> michael.hun...@neotechnology.com>  wrote:
>>>
 Gunda,

 I assume that you want to run neoclipse within eclipse as a
>> plugin/addon.
 As far as I know, this is no longer supported.

 Only the standalone RCP application is currently supported.

 Cheers

 Michael

 It runs fine with me and looks like this:




 Am 16.03.2011 um 15:45 schrieb bhargav gunda:

> Respected,
> I am new to neo4j!
> I am trying from the past 2 hours to visualize the my code in
>> Neoclipse
 but
> unable run it through Eclipse IDE.
> Can any one please instruct me how to build it from eclipse. I tried
>> with
> windows yesterday but it's not worked and again today i tried with
>> ubuntu
> 10.10 again same situation.
> In eclipse menu, window->  open perspective->  other ->  neo4j (but i
>> didn't
> find neo4j perspective). I might be doing wrong... so please help
>> me
 out
> from this.
> Can any one provide me the plug-in details of neoclipse to add it in
> eclipse.
>
> Regards,
> Gunda.
> ___
> 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
___
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user


Re: [Neo4j] Neo4j spatial

2011-03-16 Thread Saikat Kanjilal
I've written a Quasi-mashup which loads points from google maps using a 
background thread in Spring to initially load points into neo4j, what I'm 
trying to evaluate with the goal of simplifying the architecture is the 
following:

1) Should I rejigger the tomcat service code to have a webservice call to add 
points which would be called through the steps you describe below from google 
or bing maps given that  I already have service API calls that do traversals 
with pipes and shortest path calculations

2) Take the rexster and http approach to upload the points through some 
automated process from my maps and stick with the http approach when doing 
traversals through gremlin and shortest path calculations.


Also I am trying to play with neo4j-spatial and trying to figure out how to 
leverage it moving forward

That was a mouthful :)
Sent from my iPhone

On Mar 16, 2011, at 4:49 PM, Craig Taverner  wrote:

> Hi Saikat,
> 
> There are a few places you can look for code samples. One of the best places
> is the set of test cases included in neo4j spatial. You can find them at
> https://github.com/neo4j/neo4j-spatial/tree/master/src/test/java/org/neo4j/gis/spatial.
> In particular, since you are interested mostly in point data, take a look at
> TestSimplePointLayer.javaand
> LayersTest.java
> .
> 
> What you will find in those classes is Java code for adding points to the
> database, similar, but more extensive than the code in the blog.
> 
> Regarding your specific case, if you are working with a normal google map or
> bing map, and want to port the points into a local database, you would need
> to export them, and write a simple importer. If you have written a mashup
> between google or bing maps and your own neo4j-based web application, you
> should be able to use some client side coding to automate this, accessing
> the map, and posting the points directly into your own server (where of
> course you would have some code adding the points to the database). Does
> this answer your question?
> 
> Regards, Craig
> 
> On Thu, Mar 17, 2011 at 12:32 AM, Saikat Kanjilal wrote:
> 
>> Hi Folks,
>> I was reading through the docs on neo4j spatial and was wondering about a
>> few things:
>> 
>> 1) If I have a google or bing map and I manually plot some points can I use
>> neo4j spatial to automate the loading of those points into my neo4j db?
>> 
>> 2) Are there code samples for neo4j-spatial or implementations I can look
>> at for a deeper look at the API's etc?
>> 
>> Best Regards
>> 
>> Sent from my iPhone
>> ___
>> 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] Neo4j spatial

2011-03-16 Thread Craig Taverner
Hi Saikat,

There are a few places you can look for code samples. One of the best places
is the set of test cases included in neo4j spatial. You can find them at
https://github.com/neo4j/neo4j-spatial/tree/master/src/test/java/org/neo4j/gis/spatial.
In particular, since you are interested mostly in point data, take a look at
TestSimplePointLayer.javaand
LayersTest.java
.

What you will find in those classes is Java code for adding points to the
database, similar, but more extensive than the code in the blog.

Regarding your specific case, if you are working with a normal google map or
bing map, and want to port the points into a local database, you would need
to export them, and write a simple importer. If you have written a mashup
between google or bing maps and your own neo4j-based web application, you
should be able to use some client side coding to automate this, accessing
the map, and posting the points directly into your own server (where of
course you would have some code adding the points to the database). Does
this answer your question?

Regards, Craig

On Thu, Mar 17, 2011 at 12:32 AM, Saikat Kanjilal wrote:

> Hi Folks,
> I was reading through the docs on neo4j spatial and was wondering about a
> few things:
>
> 1) If I have a google or bing map and I manually plot some points can I use
> neo4j spatial to automate the loading of those points into my neo4j db?
>
> 2) Are there code samples for neo4j-spatial or implementations I can look
> at for a deeper look at the API's etc?
>
> Best Regards
>
> Sent from my iPhone
> ___
> 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] Neo4j spatial

2011-03-16 Thread Saikat Kanjilal
Hi Folks,
I was reading through the docs on neo4j spatial and was wondering about a few 
things:

1) If I have a google or bing map and I manually plot some points can I use 
neo4j spatial to automate the loading of those points into my neo4j db?

2) Are there code samples for neo4j-spatial or implementations I can look at 
for a deeper look at the API's etc?

Best Regards

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


Re: [Neo4j] Graph design

2011-03-16 Thread David Montag
On Wed, Mar 16, 2011 at 1:06 PM, Craig Taverner  wrote:

> One key point of Davids suggestion is that it takes into account that each
> action of the user could take place from a different IP. Massimo's original
> model implied that the user would always be at the same IP for all actions,
> or if he could change IP's you would not know which of them related to which
> action.
>
> So even though Davids model is more complex, it seems more correct.
>
> Another solution is to create a uid-ip node, representing all cases where a
> particular user is at a particular IP. Then that would have direct relations
> to all domains (as massimo originally had), and it would have a single
> relationship to it's user and it's ip nodes. The graph looks similar to
> Davids, but we would have much fewer nodes (all actions from the same uid-ip
> are merged).
>

This is exactly what I meant.


>
> On Wed, Mar 16, 2011 at 7:08 PM, Massimo Lusetti wrote:
>
>> On Wed, Mar 16, 2011 at 7:03 PM, David Montag
>>  wrote:
>>
>> > Massimo,
>> > If you'd like, I could skype with you later this afternoon (in 4-5
>> hours)
>> > and discuss it?
>> > David
>>
>> Wow that's would be cool... But hopefully I'm going to be sleeping, I
>> need it... Anyway I'll do my homework and come back to you!
>>
>> Thanks for the offer... really appreciated.
>> --
>> Massimo
>> http://meridio.blogspot.com
>> ___
>> Neo4j mailing list
>> User@lists.neo4j.org
>> https://lists.neo4j.org/mailman/listinfo/user
>>
>
>


-- 
David Montag
Neo Technology, www.neotechnology.com
Cell: 650.556.4411
david.mon...@neotechnology.com
___
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user


Re: [Neo4j] authentication on neo4j standalone server

2011-03-16 Thread Jim Webber
Hey Rick,

> I think what I was primarily advocating was implementing an authorization
> plugin without implementing an authentication mechanism.

Yeah, me too. I hadn't thought about authentication when I mentioned OAuth.

> Although I've never worked with it, my read on it is that an OAuth
> authorization mechanism would allow you to use OpenID authentication.

AFIAK the current OAuth RFC is silent on how you authenticate. It could be 
OpenID, it could be something else like a forms-based login. 

> I've seen several discussions on this list about hybrid database solutions
> of which Neo4j is just one piece.  What direction are the other databases
> commonly paired with Neo4j moving?

I guess that's the polyglot persistence meme. So for some deployments it'll 
mean integrating with the dev framework security stuff (spring, app server, 
whatever), and in some cases it'll still mean integrating with LDAP/AD and 
friends directly. I thought OAuth might be our route to avoid all that.

Jim

PS - full disclosure: I like OAuth 'cos I wrote resource owner, client, and 
server implementations of it using Jersey and some crypto libraries for "REST 
in Practice"
___
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user


Re: [Neo4j] Different build errors

2011-03-16 Thread Craig Taverner
The m2 repository for neo4j spatial seems to have todays date, so it sure
looks like it is being published:
http://m2.neo4j.org/org/neo4j/neo4j-spatial/0.5-SNAPSHOT/

On Wed, Mar 16, 2011 at 9:09 PM, Nolan Darilek wrote:

> Just wanted to say that I finally played with this today and it works
> almost perfectly.
>
> The only issue I'm uncertain about is whether or not Spatial is
> published to the snapshot repository, as I get a POM error when doing an
> update. I don't have the error at hand, and everything works out of my
> local repo, but not remotely.
>
> If this isn't a known issue, then I can post that error as soon as I get
> to a good stopping place with the work I'm doing now.
>
> Thanks again.
>
>
> On 03/09/2011 10:44 AM, Andreas Kollegger wrote:
> > Well, that was fun.
> >
> > Turns out that one of our artifacts had the wrong scope for depending on
> neo4j-kernel-tests. So the transitive dependencies should've included both.
> Maven does, but Ivy doesn't.
> >
> > In my local project, I added my local maven repository like this:
> >val mavenLocal = "Local Maven Repository" at
> "file://"+Path.userHome+"/.m2/repository"
> >
> > Then changed the neo4j version to 1.3-SNAPSHOT and experimented with the
> upstream poms.
> >
> > I've fixed the scope of the upstream dependency and will include the
> corrections in this week's milestone. I'll have to check that it is still
> added to our distribution properly, but at least in terms of
> dependency-resolution this should improve the current situation.
> >
> > Again, sorry for the confusion.
> >
> > -Andreas
> >
> > On Mar 9, 2011, at 2:25 PM, Nolan Darilek wrote:
> >
> >> On 03/08/2011 10:23 AM, Andreas Kollegger wrote:
> >>> Interesting. I've never used the libraryDependencies approach for
> specifying dependencies. What's the advantage? I'll have to read up about
> that.
> >>>
> >>
> >> I think it ultimately does the same thing as specifying separate vals,
> >> so no advantage, just preference. I like the clarity of stating "this is
> >> a library dependency" rather than relying on val introspection.
> >>
> >> In any case, I contorted my build definition in a variety of ways, but
> >> no matter what I did, I never downloaded anything other than
> >> neo4j-kernel-tests.jar. Eventually I tried your working project below,
> >> and that failed too. So it doesn't appear to be my project definition.
> >> I'm also regularly removing ~/.ivy2, ~/.m2, lib_managed/ and target/.
> >> Not sure if I'm missing anything, though the SBT download process does
> >> state "16 artifacts copied, 0 already retrieved" so I think I'm getting
> >> them all.
> >>
> >>   What Scala and SBT versions are you using? 2.8.1 and 0.7.5.RC0 here.
> >>
> >> Not sure where to go from here. I'll try a post to the SBT list later
> today.
> >>
> >> Thanks for the help.
> >> ___
> >> 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] [Neo tickets] #323: Dashboard charts show wrong number of primitives after 1.3 migration

2011-03-16 Thread Jacob Hansson
Holy crap :)

Was able to reproduce this. The problem appears to be that we've upgraded
the version of the round robin database that we use to store server
statistics. The new RRDB finds the old 1.2 data file (it's
[server]/data/graph.db/rrd) and happily parses it, but interprets it in
crazy ways.

As a direct fix for this, turn off your server and then backup and delete
the rrd file. The server will create a new one upon startup with the correct
format.

I'll have to look into what we can do to mitigate this - we'll make sure to
document it at the least, but ultimately this upgrade should be possible
without having to lose all previous monitoring data..

Thank you for taking the time to bring it to our attention!
/Jake

On Wed, Mar 16, 2011 at 5:13 PM, neo4j.org  wrote:

> #323: Dashboard charts show wrong number of primitives after 1.3 migration
>
> -+--
>  Reporter:  bnor...@drw.com  |   Owner:  peter
> Type:  bug report   |  Status:  new
>  Priority:  major|   Milestone:
> Component:  server   |Keywords:  1.3.M04
>
> -+--
>  I upgraded a 1.2 graph to 1.3.M04 using the special upgrade instructions
>  at http://docs.neo4j.org/chunked/milestone/deployment-upgrading.html . I
>  have 4858 nodes in this graph, but the chart is using a scale of 10^307
>  for the y-axis. The attached screenshot will illustrate the entertainment
>  value therein. ;-)
>
> --
> Ticket URL: 
> neo4j.org 
> The Neo4J.org Issue Tracker
> ___
> Tickets mailing list
> tick...@lists.neo4j.org
> https://lists.neo4j.org/mailman/listinfo/tickets
>



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


Re: [Neo4j] Different build errors

2011-03-16 Thread Nolan Darilek
Just wanted to say that I finally played with this today and it works 
almost perfectly.

The only issue I'm uncertain about is whether or not Spatial is 
published to the snapshot repository, as I get a POM error when doing an 
update. I don't have the error at hand, and everything works out of my 
local repo, but not remotely.

If this isn't a known issue, then I can post that error as soon as I get 
to a good stopping place with the work I'm doing now.

Thanks again.


On 03/09/2011 10:44 AM, Andreas Kollegger wrote:
> Well, that was fun.
>
> Turns out that one of our artifacts had the wrong scope for depending on 
> neo4j-kernel-tests. So the transitive dependencies should've included both. 
> Maven does, but Ivy doesn't.
>
> In my local project, I added my local maven repository like this:
>val mavenLocal = "Local Maven Repository" at 
> "file://"+Path.userHome+"/.m2/repository"
>
> Then changed the neo4j version to 1.3-SNAPSHOT and experimented with the 
> upstream poms.
>
> I've fixed the scope of the upstream dependency and will include the 
> corrections in this week's milestone. I'll have to check that it is still 
> added to our distribution properly, but at least in terms of 
> dependency-resolution this should improve the current situation.
>
> Again, sorry for the confusion.
>
> -Andreas
>
> On Mar 9, 2011, at 2:25 PM, Nolan Darilek wrote:
>
>> On 03/08/2011 10:23 AM, Andreas Kollegger wrote:
>>> Interesting. I've never used the libraryDependencies approach for 
>>> specifying dependencies. What's the advantage? I'll have to read up about 
>>> that.
>>>
>>
>> I think it ultimately does the same thing as specifying separate vals,
>> so no advantage, just preference. I like the clarity of stating "this is
>> a library dependency" rather than relying on val introspection.
>>
>> In any case, I contorted my build definition in a variety of ways, but
>> no matter what I did, I never downloaded anything other than
>> neo4j-kernel-tests.jar. Eventually I tried your working project below,
>> and that failed too. So it doesn't appear to be my project definition.
>> I'm also regularly removing ~/.ivy2, ~/.m2, lib_managed/ and target/.
>> Not sure if I'm missing anything, though the SBT download process does
>> state "16 artifacts copied, 0 already retrieved" so I think I'm getting
>> them all.
>>
>>   What Scala and SBT versions are you using? 2.8.1 and 0.7.5.RC0 here.
>>
>> Not sure where to go from here. I'll try a post to the SBT list later today.
>>
>> Thanks for the help.
>> ___
>> 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] Graph design

2011-03-16 Thread Craig Taverner
One key point of Davids suggestion is that it takes into account that each
action of the user could take place from a different IP. Massimo's original
model implied that the user would always be at the same IP for all actions,
or if he could change IP's you would not know which of them related to which
action.

So even though Davids model is more complex, it seems more correct.

Another solution is to create a uid-ip node, representing all cases where a
particular user is at a particular IP. Then that would have direct relations
to all domains (as massimo originally had), and it would have a single
relationship to it's user and it's ip nodes. The graph looks similar to
Davids, but we would have much fewer nodes (all actions from the same uid-ip
are merged).

On Wed, Mar 16, 2011 at 7:08 PM, Massimo Lusetti  wrote:

> On Wed, Mar 16, 2011 at 7:03 PM, David Montag
>  wrote:
>
> > Massimo,
> > If you'd like, I could skype with you later this afternoon (in 4-5 hours)
> > and discuss it?
> > David
>
> Wow that's would be cool... But hopefully I'm going to be sleeping, I
> need it... Anyway I'll do my homework and come back to you!
>
> Thanks for the offer... really appreciated.
> --
> Massimo
> http://meridio.blogspot.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] authentication on neo4j standalone server

2011-03-16 Thread Rick Otten
Good question.

I think what I was primarily advocating was implementing an authorization
plugin without implementing an authentication mechanism.

Although I've never worked with it, my read on it is that an OAuth
authorization mechanism would allow you to use OpenID authentication.


It looks like the OAuth folks are participating in the Kantara Initiative 
(or at least they are familiar with each other) so at least to some extent
the technologies appear to be converging.

Most of the SQL databases I'm familiar with each implement their own
authentication and authorization technology.  No two are alike, and it is
hard to jump from one brand of SQL database to another in a heterogeneous
environment with the same credentials.

I think that era is quickly coming to a close.


I've seen several discussions on this list about hybrid database solutions
of which Neo4j is just one piece.  What direction are the other databases
commonly paired with Neo4j moving?



> Hi Rick,
>
> You'd not advocate OAuth?
>
> Jim
> ___
> Neo4j mailing list
> User@lists.neo4j.org
> https://lists.neo4j.org/mailman/listinfo/user
>


-- 
Rick Otten
rot...@windfish.net
O=='=+


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


Re: [Neo4j] Graph design

2011-03-16 Thread Massimo Lusetti
On Wed, Mar 16, 2011 at 7:03 PM, David Montag
 wrote:

> Massimo,
> If you'd like, I could skype with you later this afternoon (in 4-5 hours)
> and discuss it?
> David

Wow that's would be cool... But hopefully I'm going to be sleeping, I
need it... Anyway I'll do my homework and come back to you!

Thanks for the offer... really appreciated.
-- 
Massimo
http://meridio.blogspot.com
___
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user


Re: [Neo4j] Graph design

2011-03-16 Thread David Montag
Massimo,

If you'd like, I could skype with you later this afternoon (in 4-5 hours)
and discuss it?

David

On Wed, Mar 16, 2011 at 11:01 AM, Massimo Lusetti wrote:

> On Wed, Mar 16, 2011 at 6:41 PM, David Montag
>  wrote:
>
> > Massimo,
> > It sounds like certain PERFORMED_ACTION_ON and ACTION_TOOK_PLACE_FROM
> > relationships are logically grouped/related. Is this a correct statement?
> > If so, then you might want to consider something like:
> > (UID) --TOOK_ACTION--> (ACTION)
> > (ACTION) --TOOK_PLACE_FROM--> (IP)
> > (ACTION) --WAS_PERFORMED_ON --> (DOMAIN)
> > Could such a model possibly make reasoning about and querying the data
> > easier?
> > David
>
> I'm not sure If I get it all and correct but... That would enormously
> complicate the logic that "parse log and produce data" ... But indeed
> it sounds to my hear like a pretty nice suggestion.
>
> I'm going to give it a try and see if that's feasible.
>
> Thanks a lot, will let you know
> --
> Massimo
> http://meridio.blogspot.com
>



-- 
David Montag
Neo Technology, www.neotechnology.com
Cell: 650.556.4411
david.mon...@neotechnology.com
___
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user


Re: [Neo4j] Graph design

2011-03-16 Thread Massimo Lusetti
On Wed, Mar 16, 2011 at 6:41 PM, David Montag
 wrote:

> Massimo,
> It sounds like certain PERFORMED_ACTION_ON and ACTION_TOOK_PLACE_FROM
> relationships are logically grouped/related. Is this a correct statement?
> If so, then you might want to consider something like:
> (UID) --TOOK_ACTION--> (ACTION)
> (ACTION) --TOOK_PLACE_FROM--> (IP)
> (ACTION) --WAS_PERFORMED_ON --> (DOMAIN)
> Could such a model possibly make reasoning about and querying the data
> easier?
> David

I'm not sure If I get it all and correct but... That would enormously
complicate the logic that "parse log and produce data" ... But indeed
it sounds to my hear like a pretty nice suggestion.

I'm going to give it a try and see if that's feasible.

Thanks a lot, will let you know
-- 
Massimo
http://meridio.blogspot.com
___
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user


Re: [Neo4j] Graph design

2011-03-16 Thread Rick Bullotta
I agree with David's suggestion of using relationship types for two reasons:

- It definitely makes querying/traversal easier
- It reduces the need for unnecessary properties on a "generic" relationship
type (the relationship type's .name() method provides something like an
"implicit" property)



-Original Message-
From: user-boun...@lists.neo4j.org [mailto:user-boun...@lists.neo4j.org] On
Behalf Of David Montag
Sent: Wednesday, March 16, 2011 1:42 PM
To: Massimo Lusetti
Cc: Neo4j user discussions
Subject: Re: [Neo4j] Graph design

Massimo,

It sounds like certain PERFORMED_ACTION_ON and ACTION_TOOK_PLACE_FROM
relationships are logically grouped/related. Is this a correct statement?

If so, then you might want to consider something like:

(UID) --TOOK_ACTION--> (ACTION)
(ACTION) --TOOK_PLACE_FROM--> (IP)
(ACTION) --WAS_PERFORMED_ON --> (DOMAIN)

Could such a model possibly make reasoning about and querying the data
easier?

David

On Wed, Mar 16, 2011 at 10:26 AM, Massimo Lusetti wrote:

> On Wed, Mar 16, 2011 at 6:17 PM, David Montag
>  wrote:
>
> > Massimo,
> > So just to understand your graph layout, you have:
> > (UID) --PERFORMED_ACTION_ON--> (DOMAIN)
> > (UID) --ACTION_TOOK_PLACE_FROM--> (IP)
> > Is this correct? Could you elaborate a bit more on the use case, along
> with
> > the queries you want to do on your data?
> > Thanks,
> > David
>
> Yep, I got:
>
> (NETWORK) --> (IP) <-- (UID) --> (DOMAIN)
>
> Then I need to "collect" which actions (defined as properties of the
> rel between UID and DOMAIN) users has taken from which NETWORK and
> calculate statistics (which domains are most used, the IP more
> frequently used, the active UID in a period of time... and so on) and
> do some (for now limited) semantic analysis.
>
> Does this sounds good? Am I using neo4j the right way?
>
> Cheers
> --
> Massimo
> http://meridio.blogspot.com
>



-- 
David Montag
Neo Technology, www.neotechnology.com
Cell: 650.556.4411
david.mon...@neotechnology.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] Graph design

2011-03-16 Thread David Montag
Massimo,

It sounds like certain PERFORMED_ACTION_ON and ACTION_TOOK_PLACE_FROM
relationships are logically grouped/related. Is this a correct statement?

If so, then you might want to consider something like:

(UID) --TOOK_ACTION--> (ACTION)
(ACTION) --TOOK_PLACE_FROM--> (IP)
(ACTION) --WAS_PERFORMED_ON --> (DOMAIN)

Could such a model possibly make reasoning about and querying the data
easier?

David

On Wed, Mar 16, 2011 at 10:26 AM, Massimo Lusetti wrote:

> On Wed, Mar 16, 2011 at 6:17 PM, David Montag
>  wrote:
>
> > Massimo,
> > So just to understand your graph layout, you have:
> > (UID) --PERFORMED_ACTION_ON--> (DOMAIN)
> > (UID) --ACTION_TOOK_PLACE_FROM--> (IP)
> > Is this correct? Could you elaborate a bit more on the use case, along
> with
> > the queries you want to do on your data?
> > Thanks,
> > David
>
> Yep, I got:
>
> (NETWORK) --> (IP) <-- (UID) --> (DOMAIN)
>
> Then I need to "collect" which actions (defined as properties of the
> rel between UID and DOMAIN) users has taken from which NETWORK and
> calculate statistics (which domains are most used, the IP more
> frequently used, the active UID in a period of time... and so on) and
> do some (for now limited) semantic analysis.
>
> Does this sounds good? Am I using neo4j the right way?
>
> Cheers
> --
> Massimo
> http://meridio.blogspot.com
>



-- 
David Montag
Neo Technology, www.neotechnology.com
Cell: 650.556.4411
david.mon...@neotechnology.com
___
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user


Re: [Neo4j] Graph design

2011-03-16 Thread Massimo Lusetti
On Wed, Mar 16, 2011 at 6:17 PM, David Montag
 wrote:

> Massimo,
> So just to understand your graph layout, you have:
> (UID) --PERFORMED_ACTION_ON--> (DOMAIN)
> (UID) --ACTION_TOOK_PLACE_FROM--> (IP)
> Is this correct? Could you elaborate a bit more on the use case, along with
> the queries you want to do on your data?
> Thanks,
> David

Yep, I got:

(NETWORK) --> (IP) <-- (UID) --> (DOMAIN)

Then I need to "collect" which actions (defined as properties of the
rel between UID and DOMAIN) users has taken from which NETWORK and
calculate statistics (which domains are most used, the IP more
frequently used, the active UID in a period of time... and so on) and
do some (for now limited) semantic analysis.

Does this sounds good? Am I using neo4j the right way?

Cheers
-- 
Massimo
http://meridio.blogspot.com
___
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user


Re: [Neo4j] Graph design

2011-03-16 Thread Massimo Lusetti
On Wed, Mar 16, 2011 at 6:10 PM, Rick Bullotta
 wrote:

> I'll be interested in the response(s), Massimo, since some of the more
> performance-critical aspects of our application are also
> "relationship-heavy".

I'll let you know, certainly.

Now with the prototype and the numbers I've posted on a modest
hardware the performance are pleasing. Note that I'm not using the
internal index framework for the bigger indexes I need, for that I'm
using "pure" Lucene.

Cheers
-- 
Massimo
http://meridio.blogspot.com
___
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user


Re: [Neo4j] Graph design

2011-03-16 Thread David Montag
Massimo,

So just to understand your graph layout, you have:

(UID) --PERFORMED_ACTION_ON--> (DOMAIN)
(UID) --ACTION_TOOK_PLACE_FROM--> (IP)

Is this correct? Could you elaborate a bit more on the use case, along with
the queries you want to do on your data?

Thanks,
David

On Wed, Mar 16, 2011 at 10:00 AM, Massimo Lusetti wrote:

> I remember to have read about some design smells but I cannot find it
> in the Design_Guide wiki so I post it here.
>
> I got IP addresses and uid (unique usernames), each uid performs
> actions on domains (kinda of urls). So I got a db with a small to
> medium number of Node for uid, IP and domains (with 1/2 properties
> each) but I have a lot of Relationships cause I create a Relationship
> between a domain Node and an uid Node (with properties of course) to
> represent  an "action" taken by the user on that particular domain and
> the same apply to Relationships between IP and uid cause that
> represent that the "action" has taken place from that particula IP
> address.
>
> So I'll end up with far more Relationship the Node, let's say that for
> 26139 Nodes I got 6866630 Relationships and the number of Nodes will
> continue to grow with a far far lighter curve then Relationships.
>
> Do you think there's some design smell in my graph!?
>
> Thanks
> --
> Massimo
> http://meridio.blogspot.com
> ___
> Neo4j mailing list
> User@lists.neo4j.org
> https://lists.neo4j.org/mailman/listinfo/user
>



-- 
David Montag
Neo Technology, www.neotechnology.com
Cell: 650.556.4411
david.mon...@neotechnology.com
___
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user


Re: [Neo4j] Graph design

2011-03-16 Thread Rick Bullotta
I'll be interested in the response(s), Massimo, since some of the more
performance-critical aspects of our application are also
"relationship-heavy".

-Original Message-
From: user-boun...@lists.neo4j.org [mailto:user-boun...@lists.neo4j.org] On
Behalf Of Massimo Lusetti
Sent: Wednesday, March 16, 2011 1:01 PM
To: Neo4j user discussions
Subject: [Neo4j] Graph design

I remember to have read about some design smells but I cannot find it
in the Design_Guide wiki so I post it here.

I got IP addresses and uid (unique usernames), each uid performs
actions on domains (kinda of urls). So I got a db with a small to
medium number of Node for uid, IP and domains (with 1/2 properties
each) but I have a lot of Relationships cause I create a Relationship
between a domain Node and an uid Node (with properties of course) to
represent  an "action" taken by the user on that particular domain and
the same apply to Relationships between IP and uid cause that
represent that the "action" has taken place from that particula IP
address.

So I'll end up with far more Relationship the Node, let's say that for
26139 Nodes I got 6866630 Relationships and the number of Nodes will
continue to grow with a far far lighter curve then Relationships.

Do you think there's some design smell in my graph!?

Thanks
-- 
Massimo
http://meridio.blogspot.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


[Neo4j] Graph design

2011-03-16 Thread Massimo Lusetti
I remember to have read about some design smells but I cannot find it
in the Design_Guide wiki so I post it here.

I got IP addresses and uid (unique usernames), each uid performs
actions on domains (kinda of urls). So I got a db with a small to
medium number of Node for uid, IP and domains (with 1/2 properties
each) but I have a lot of Relationships cause I create a Relationship
between a domain Node and an uid Node (with properties of course) to
represent  an "action" taken by the user on that particular domain and
the same apply to Relationships between IP and uid cause that
represent that the "action" has taken place from that particula IP
address.

So I'll end up with far more Relationship the Node, let's say that for
26139 Nodes I got 6866630 Relationships and the number of Nodes will
continue to grow with a far far lighter curve then Relationships.

Do you think there's some design smell in my graph!?

Thanks
-- 
Massimo
http://meridio.blogspot.com
___
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user


Re: [Neo4j] Running Neoclipse from Eclipse IDE

2011-03-16 Thread Peter Neubauer
Gunda,
Could you contact me via Skype so we can sort this out using screen
sharing tomorrow? What timezone are you in ?

/peter

On Wednesday, March 16, 2011, bhargav gunda  wrote:
> Respected,
>
> Yeah I tried by starting the database(pressing green button) nothing is 
> visualizing...
>
> I am using the latest released versions:
> Neo4j: 1.3.M04
> Neoclipse: 1.3.M04
>
> I am pointing the database file in the preferences before hitting the start 
> button.
>
> Regards,
> Gunda.
>
> On Wed, Mar 16, 2011 at 4:34 PM, Peter Neubauer 
>  wrote:
> Bhargav,
> what Neo4j version are you using to create the graph, and what version
> of Neoclipse are you running?
>
> Also, are you pointing out the database directory correctly in the
> preferences before hitting the green start button? We need to update
> the screencast after 1.3 to reflect this ...
>
> 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               - Your high performance graph database.
> http://startupbootcamp.org/    - Öresund - Innovation happens HERE.
> http://www.thoughtmade.com - Scandinavia's coolest Bring-a-Thing party.
>
>
>
> On Wed, Mar 16, 2011 at 4:28 PM, bhargav gunda  wrote:
>> Respected,
>> Thanks for your time.
>> And one more doubt is like, I tried to build the neoclipse by following the
>> video instructions(kickstart for neoclipse) and from wiki but I am not
>> able to visualize the graph with my code even I connected it to database
>> file. what would be the problem for this?
>>
>> Regards,
>> Gunda.
>>
>> On Wed, Mar 16, 2011 at 3:58 PM, Michael Hunger <
>> michael.hun...@neotechnology.com> wrote:
>>
>>> Gunda,
>>>
>>> I assume that you want to run neoclipse within eclipse as a plugin/addon.
>>> As far as I know, this is no longer supported.
>>>
>>> Only the standalone RCP application is currently supported.
>>>
>>> Cheers
>>>
>>> Michael
>>>
>>> It runs fine with me and looks like this:
>>>
>>>
>>>
>>>
>>> Am 16.03.2011 um 15:45 schrieb bhargav gunda:
>>>
>>> > Respected,
>>> > I am new to neo4j!
>>> > I am trying from the past 2 hours to visualize the my code in Neoclipse
>>> but
>>> > unable run it through Eclipse IDE.
>>> > Can any one please instruct me how to build it from eclipse. I tried with
>>> > windows yesterday but it's not worked and again today i tried with ubuntu
>>> > 10.10 again same situation.
>>> > In eclipse menu, window-> open perspective-> other -> neo4j (but i didn't
>>> > find neo4j perspective). I might be doing wrong... so please help me
>>> out
>>> > from this.
>>> > Can any one provide me the plug-in details of neoclipse to add it in
>>> > eclipse.
>>> >
>>> > Regards,
>>> > Gunda.
>>> > ___
>>> > 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] FileNotFoundException _m.cfs

2011-03-16 Thread Mattias Persson
I saw somewhere that you can run a org.apache.lucene.index.CheckIndex to see
inconsistencies and also perhaps repair them. I don't know for sure, but it
could be a bug in Lucene itself.

2011/3/16 Andreas Ronge 

> Hi
>
> I just got the following exception and have no idea how to recover the
> database without starting with a new clean database.
>
> I'm using neo4j 1.3.M03 on Ubuntu.
> I don't think I can reproduce it.
>
> java.lang.RuntimeException: java.io.FileNotFoundException:
>
> /home/andreas/projects/emsweb/db/neo4j-development/index/lucene/node/Step-exact/_m.cfs
> (No such file or directory)
>at
> org.neo4j.index.impl.lucene.LuceneDataSource.getIndexSearcher(LuceneDataSource.java:506)
>at
> org.neo4j.index.impl.lucene.CommitContext.ensureWriterInstantiated(CommitContext.java:60)
>at
> org.neo4j.index.impl.lucene.LuceneCommand$RemoveCommand.perform(LuceneCommand.java:240)
>at
> org.neo4j.index.impl.lucene.LuceneTransaction.doCommit(LuceneTransaction.java:257)
>at
> org.neo4j.kernel.impl.transaction.xaframework.XaTransaction.commit(XaTransaction.java:318)
>at
> org.neo4j.kernel.impl.transaction.xaframework.XaResourceManager.commit(XaResourceManager.java:446)
>at
> org.neo4j.kernel.impl.transaction.xaframework.XaResourceHelpImpl.commit(XaResourceHelpImpl.java:64)
>at
> org.neo4j.kernel.impl.transaction.TransactionImpl.doCommit(TransactionImpl.java:516)
>at
> org.neo4j.kernel.impl.transaction.TxManager.commit(TxManager.java:621)
>at
> org.neo4j.kernel.impl.transaction.TxManager.commit(TxManager.java:584)
>at
> org.neo4j.kernel.impl.transaction.TransactionImpl.commit(TransactionImpl.java:104)
>at
> org.neo4j.kernel.TopLevelTransaction.finish(TopLevelTransaction.java:85)
>at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>at java.lang.reflect.Method.invoke(Method.java:597)
> ___
> 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] Gremlin and rest server

2011-03-16 Thread Marko Rodriguez
Hi Jonah,

> I don't know about Saikat, but Rexster appears to have the  
> functionality I was looking for.  Though, its web server  
> implementation blocks while performing large, multi-millisecond  
> graph operations, correct?

Stephen replied to me:

"i assume we're talking about non-blocking web servers.  did some quick
research to be sure, but most java servers (including tomcat/grizzly
are implementing NIO).  found this recent post on stackoverflow that
explains more:

http://stackoverflow.com/questions/5058797/non-blocking-web-server-for-java

i think you were correct in your answer."

There is a simple test that can be done --- do a long query and then  
do another and see if the second returns before the first. :) ... I  
will get to try that at some point.

Thanks Jonah,
Marko.

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


Re: [Neo4j] Running Neoclipse from Eclipse IDE

2011-03-16 Thread bhargav gunda
Respected,

Yeah I tried by starting the database(pressing green button) nothing is
visualizing...

I am using the latest released versions:
Neo4j: 1.3.M04
Neoclipse: 1.3.M04

I am pointing the database file in the preferences before hitting the start
button.

Regards,
Gunda.

On Wed, Mar 16, 2011 at 4:34 PM, Peter Neubauer <
peter.neuba...@neotechnology.com> wrote:

> Bhargav,
> what Neo4j version are you using to create the graph, and what version
> of Neoclipse are you running?
>
> Also, are you pointing out the database directory correctly in the
> preferences before hitting the green start button? We need to update
> the screencast after 1.3 to reflect this ...
>
> 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   - Your high performance graph database.
> http://startupbootcamp.org/- Öresund - Innovation happens HERE.
> http://www.thoughtmade.com - Scandinavia's coolest Bring-a-Thing party.
>
>
>
> On Wed, Mar 16, 2011 at 4:28 PM, bhargav gunda 
> wrote:
> > Respected,
> > Thanks for your time.
> > And one more doubt is like, I tried to build the neoclipse by following
> the
> > video instructions(kickstart for neoclipse) and from wiki but I am
> not
> > able to visualize the graph with my code even I connected it to database
> > file. what would be the problem for this?
> >
> > Regards,
> > Gunda.
> >
> > On Wed, Mar 16, 2011 at 3:58 PM, Michael Hunger <
> > michael.hun...@neotechnology.com> wrote:
> >
> >> Gunda,
> >>
> >> I assume that you want to run neoclipse within eclipse as a
> plugin/addon.
> >> As far as I know, this is no longer supported.
> >>
> >> Only the standalone RCP application is currently supported.
> >>
> >> Cheers
> >>
> >> Michael
> >>
> >> It runs fine with me and looks like this:
> >>
> >>
> >>
> >>
> >> Am 16.03.2011 um 15:45 schrieb bhargav gunda:
> >>
> >> > Respected,
> >> > I am new to neo4j!
> >> > I am trying from the past 2 hours to visualize the my code in
> Neoclipse
> >> but
> >> > unable run it through Eclipse IDE.
> >> > Can any one please instruct me how to build it from eclipse. I tried
> with
> >> > windows yesterday but it's not worked and again today i tried with
> ubuntu
> >> > 10.10 again same situation.
> >> > In eclipse menu, window-> open perspective-> other -> neo4j (but i
> didn't
> >> > find neo4j perspective). I might be doing wrong... so please help
> me
> >> out
> >> > from this.
> >> > Can any one provide me the plug-in details of neoclipse to add it in
> >> > eclipse.
> >> >
> >> > Regards,
> >> > Gunda.
> >> > ___
> >> > 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] Running Neoclipse from Eclipse IDE

2011-03-16 Thread Peter Neubauer
Bhargav,
what Neo4j version are you using to create the graph, and what version
of Neoclipse are you running?

Also, are you pointing out the database directory correctly in the
preferences before hitting the green start button? We need to update
the screencast after 1.3 to reflect this ...

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               - Your high performance graph database.
http://startupbootcamp.org/    - Öresund - Innovation happens HERE.
http://www.thoughtmade.com - Scandinavia's coolest Bring-a-Thing party.



On Wed, Mar 16, 2011 at 4:28 PM, bhargav gunda  wrote:
> Respected,
> Thanks for your time.
> And one more doubt is like, I tried to build the neoclipse by following the
> video instructions(kickstart for neoclipse) and from wiki but I am not
> able to visualize the graph with my code even I connected it to database
> file. what would be the problem for this?
>
> Regards,
> Gunda.
>
> On Wed, Mar 16, 2011 at 3:58 PM, Michael Hunger <
> michael.hun...@neotechnology.com> wrote:
>
>> Gunda,
>>
>> I assume that you want to run neoclipse within eclipse as a plugin/addon.
>> As far as I know, this is no longer supported.
>>
>> Only the standalone RCP application is currently supported.
>>
>> Cheers
>>
>> Michael
>>
>> It runs fine with me and looks like this:
>>
>>
>>
>>
>> Am 16.03.2011 um 15:45 schrieb bhargav gunda:
>>
>> > Respected,
>> > I am new to neo4j!
>> > I am trying from the past 2 hours to visualize the my code in Neoclipse
>> but
>> > unable run it through Eclipse IDE.
>> > Can any one please instruct me how to build it from eclipse. I tried with
>> > windows yesterday but it's not worked and again today i tried with ubuntu
>> > 10.10 again same situation.
>> > In eclipse menu, window-> open perspective-> other -> neo4j (but i didn't
>> > find neo4j perspective). I might be doing wrong... so please help me
>> out
>> > from this.
>> > Can any one provide me the plug-in details of neoclipse to add it in
>> > eclipse.
>> >
>> > Regards,
>> > Gunda.
>> > ___
>> > 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] Running Neoclipse from Eclipse IDE

2011-03-16 Thread Anders Nawroth
Hi!

Did you push the green "start" button?

/anders

On 03/16/2011 04:28 PM, bhargav gunda wrote:
> Respected,
> Thanks for your time.
> And one more doubt is like, I tried to build the neoclipse by following the
> video instructions(kickstart for neoclipse) and from wiki but I am not
> able to visualize the graph with my code even I connected it to database
> file. what would be the problem for this?
>
> Regards,
> Gunda.
>
> On Wed, Mar 16, 2011 at 3:58 PM, Michael Hunger<
> michael.hun...@neotechnology.com>  wrote:
>
>> Gunda,
>>
>> I assume that you want to run neoclipse within eclipse as a plugin/addon.
>> As far as I know, this is no longer supported.
>>
>> Only the standalone RCP application is currently supported.
>>
>> Cheers
>>
>> Michael
>>
>> It runs fine with me and looks like this:
>>
>>
>>
>>
>> Am 16.03.2011 um 15:45 schrieb bhargav gunda:
>>
>>> Respected,
>>> I am new to neo4j!
>>> I am trying from the past 2 hours to visualize the my code in Neoclipse
>> but
>>> unable run it through Eclipse IDE.
>>> Can any one please instruct me how to build it from eclipse. I tried with
>>> windows yesterday but it's not worked and again today i tried with ubuntu
>>> 10.10 again same situation.
>>> In eclipse menu, window->  open perspective->  other ->  neo4j (but i didn't
>>> find neo4j perspective). I might be doing wrong... so please help me
>> out
>>> from this.
>>> Can any one provide me the plug-in details of neoclipse to add it in
>>> eclipse.
>>>
>>> Regards,
>>> Gunda.
>>> ___
>>> 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] Running Neoclipse from Eclipse IDE

2011-03-16 Thread bhargav gunda
Respected,
Thanks for your time.
And one more doubt is like, I tried to build the neoclipse by following the
video instructions(kickstart for neoclipse) and from wiki but I am not
able to visualize the graph with my code even I connected it to database
file. what would be the problem for this?

Regards,
Gunda.

On Wed, Mar 16, 2011 at 3:58 PM, Michael Hunger <
michael.hun...@neotechnology.com> wrote:

> Gunda,
>
> I assume that you want to run neoclipse within eclipse as a plugin/addon.
> As far as I know, this is no longer supported.
>
> Only the standalone RCP application is currently supported.
>
> Cheers
>
> Michael
>
> It runs fine with me and looks like this:
>
>
>
>
> Am 16.03.2011 um 15:45 schrieb bhargav gunda:
>
> > Respected,
> > I am new to neo4j!
> > I am trying from the past 2 hours to visualize the my code in Neoclipse
> but
> > unable run it through Eclipse IDE.
> > Can any one please instruct me how to build it from eclipse. I tried with
> > windows yesterday but it's not worked and again today i tried with ubuntu
> > 10.10 again same situation.
> > In eclipse menu, window-> open perspective-> other -> neo4j (but i didn't
> > find neo4j perspective). I might be doing wrong... so please help me
> out
> > from this.
> > Can any one provide me the plug-in details of neoclipse to add it in
> > eclipse.
> >
> > Regards,
> > Gunda.
> > ___
> > 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] Use the webadmin interface with the HA-Cluster

2011-03-16 Thread Peter Neubauer
Pere,
Actually it is not far out. If I remember correctly, the JMX HA
support is already partly in place and thus available as raw data for
one instance, if you run Webadmin against a HA cluster node and check
out the last tab. For the next version, all cluster nodes JMX beans
would be available if you connect to one of the nodes.

For post-1.3 the plan is to add the discovery and mounting of all
HA-instances to the webadmin so it is part of 1.4 I think.

Jake, what is your take on this?

/peter

On Wednesday, March 16, 2011, Pere Urbon Bayes  wrote:
> HI!
>   I'm just wandering if it's possible to get a Neo4J-HA Cluster working with
> the webadmin rest interface working. I was thinking in something like the
> REST-Server going over a HA-Cluster, I'm dreaming or it's possible?
>
> Regards,
>
> Pere
> ___
> 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] New index framework questions...

2011-03-16 Thread Rick Bullotta
Hi, all.

 

Looking at the documentation for the new index framework in the Wiki at:
http://wiki.neo4j.org/content/Index_Framework, it isn't all that clear how
fulltext queries are to be executed (what's the key name?), how they can be
sorted (can you sort by score?), etc.

 

Can anyone shed any light on how all this stuff works in the context of
fulltext?  Definitely some more examples/documentation would be very
helpful.

 

Thanks,

 

Rick

 

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


Re: [Neo4j] authentication on neo4j standalone server

2011-03-16 Thread Jim Webber
Hi Rick,

You'd not advocate OAuth?

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


Re: [Neo4j] Running Neoclipse from Eclipse IDE

2011-03-16 Thread Anders Nawroth
Hi!

Please use the pre-built Neoclipse application, downloads are available 
here:
http://neo4j.org/download/

For windows 64-bit note that the Neoclipse version to use depends on the 
Java runtime version (32/64-bit) in use, which may be 32-bit.

/anders

On 03/16/2011 03:45 PM, bhargav gunda wrote:
> Respected,
> I am new to neo4j!
> I am trying from the past 2 hours to visualize the my code in Neoclipse but
> unable run it through Eclipse IDE.
> Can any one please instruct me how to build it from eclipse. I tried with
> windows yesterday but it's not worked and again today i tried with ubuntu
> 10.10 again same situation.
> In eclipse menu, window->  open perspective->  other ->  neo4j (but i didn't
> find neo4j perspective). I might be doing wrong... so please help me out
> from this.
> Can any one provide me the plug-in details of neoclipse to add it in
> eclipse.
>
> Regards,
> Gunda.
> ___
> 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] Running Neoclipse from Eclipse IDE

2011-03-16 Thread bhargav gunda
Respected,
I am new to neo4j!
I am trying from the past 2 hours to visualize the my code in Neoclipse but
unable run it through Eclipse IDE.
Can any one please instruct me how to build it from eclipse. I tried with
windows yesterday but it's not worked and again today i tried with ubuntu
10.10 again same situation.
In eclipse menu, window-> open perspective-> other -> neo4j (but i didn't
find neo4j perspective). I might be doing wrong... so please help me out
from this.
Can any one provide me the plug-in details of neoclipse to add it in
eclipse.

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


Re: [Neo4j] authentication on neo4j standalone server

2011-03-16 Thread Rick Otten
If I were architecting an authentication and authorization mechanism for
Neo4j REST I would probably look at building an OpenSAML based Service
Provider plugin for the Neo4j webserver.

( In the Identity Management world the Service Provider (SP) takes a look
at your identity, and then grants access to specific resources based on
it. )

Shibboleth is an example of an open source, OpenSAML SP that already has
plugins for Apache HTTPD and iPlanet.  http://shibboleth.internet2.edu/


I would not worry about implementing an IDP (Identity Provider) as part of
Neo4j at all, and instead make sure my SP had the capability to talk to
standard IDP's.

The Kantara Initiative [ http://www.kantarainitiative.org ] seems to be
the main organization developing the standards for configuring SP rule
management systems and communications to IDP's.

I would advocate against building custom authentication and authorization
infrastructure in Neo4j at this time.  As we move forward with horizontal
and cloud infrastructures we will all become increasing familiar with
configuring SP's and then wiring them to existing IDP's.  Anything that
has a custom solution will really stick out and be operationally
challenged.  I think we'll see this model for Identity Management get
plugged into practically everything within a few years.

My applications for Neo4j do not have requirements for resource control
yet, so I haven't explored it beyond merely thinking about it a little.


> right now either use a proxy in front
> or pull the server project and a simple, two line auth filter in front.
>
> perhaps we should add request-filters as an extension mechanism much like
> the unmanaged extensions to the server.
>
> M
>
> Sent from my iBrick4
>
>
> Am 16.03.2011 um 05:28 schrieb Scott Farrar :
>
>> HI,
>>
>> I'm having a little trouble finding information on how authentication
>> is handled using neo4j. From what I understand, a standalone
>> implementation doesn't have this feature. With an embedded solution, I
>> understand that you can use, for instance, authentication in Rails.
>>
>> Here's what I'd like to do:
>>
>> -set up a stand alone server for my graph db
>> -use the REST api
>> -connect to the server using various methods (Android, Rails, etc)
>>
>> My question concerns the best approach for this, assuming that I don't
>> want to just anyone writing to the graph.
>>
>> thanks
>> --Scott
>> ___
>> 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
>


-- 
Rick Otten
rot...@windfish.net
O=='=+


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


[Neo4j] FileNotFoundException _m.cfs

2011-03-16 Thread Andreas Ronge
Hi

I just got the following exception and have no idea how to recover the
database without starting with a new clean database.

I'm using neo4j 1.3.M03 on Ubuntu.
I don't think I can reproduce it.

java.lang.RuntimeException: java.io.FileNotFoundException:
/home/andreas/projects/emsweb/db/neo4j-development/index/lucene/node/Step-exact/_m.cfs
(No such file or directory)
at 
org.neo4j.index.impl.lucene.LuceneDataSource.getIndexSearcher(LuceneDataSource.java:506)
at 
org.neo4j.index.impl.lucene.CommitContext.ensureWriterInstantiated(CommitContext.java:60)
at 
org.neo4j.index.impl.lucene.LuceneCommand$RemoveCommand.perform(LuceneCommand.java:240)
at 
org.neo4j.index.impl.lucene.LuceneTransaction.doCommit(LuceneTransaction.java:257)
at 
org.neo4j.kernel.impl.transaction.xaframework.XaTransaction.commit(XaTransaction.java:318)
at 
org.neo4j.kernel.impl.transaction.xaframework.XaResourceManager.commit(XaResourceManager.java:446)
at 
org.neo4j.kernel.impl.transaction.xaframework.XaResourceHelpImpl.commit(XaResourceHelpImpl.java:64)
at 
org.neo4j.kernel.impl.transaction.TransactionImpl.doCommit(TransactionImpl.java:516)
at 
org.neo4j.kernel.impl.transaction.TxManager.commit(TxManager.java:621)
at 
org.neo4j.kernel.impl.transaction.TxManager.commit(TxManager.java:584)
at 
org.neo4j.kernel.impl.transaction.TransactionImpl.commit(TransactionImpl.java:104)
at 
org.neo4j.kernel.TopLevelTransaction.finish(TopLevelTransaction.java:85)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
___
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user


[Neo4j] Use the webadmin interface with the HA-Cluster

2011-03-16 Thread Pere Urbon Bayes
HI!
  I'm just wandering if it's possible to get a Neo4J-HA Cluster working with
the webadmin rest interface working. I was thinking in something like the
REST-Server going over a HA-Cluster, I'm dreaming or it's possible?

Regards,

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


[Neo4j] Spring Data Graph - Neo4j Support 1.0.0.M4 Released | SpringSource.org

2011-03-16 Thread Anders Nawroth
http://www.springsource.org/node/3066

 From the announcement:

 * update to Neo4j-1.3.M04
 * simplification of detached/attached state
 * all node entities are detached at creation, must call persist()
 * attach() renamed to persist()
 * separate indices per domain class
 * support for fulltext indices
 * fixed direct lookup of numerically indexed values
 * relationships via relateTo are now also restricted to one per 
type,direction and target
 * added EntityPath/EntityPathMapper for entity based Neo4jTemplate 
callbacks
 * added EntityEvaluator for entity based path evaluation
 * error handling for node type strategy called on non type nodes
 * FieldTraversalDescriptionBuilder build method parametrization
 * re-enabled, updated and fixed cross-store persistence
 * graph managed fields no longer have to be annotated with 
@Transient (the aspect takes care of that)
 * removed the need to mark graph managed fields with @Transient for 
a cross store entity
 * changed documentation format to guidebook, added tutorial as 
first part

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


Re: [Neo4j] authentication on neo4j standalone server

2011-03-16 Thread Michael Hunger
right now either use a proxy in front
or pull the server project and a simple, two line auth filter in front.

perhaps we should add request-filters as an extension mechanism much like the 
unmanaged extensions to the server.

M

Sent from my iBrick4


Am 16.03.2011 um 05:28 schrieb Scott Farrar :

> HI,
> 
> I'm having a little trouble finding information on how authentication
> is handled using neo4j. From what I understand, a standalone
> implementation doesn't have this feature. With an embedded solution, I
> understand that you can use, for instance, authentication in Rails.
> 
> Here's what I'd like to do:
> 
> -set up a stand alone server for my graph db
> -use the REST api
> -connect to the server using various methods (Android, Rails, etc)
> 
> My question concerns the best approach for this, assuming that I don't
> want to just anyone writing to the graph.
> 
> thanks
> --Scott
> ___
> 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