Re: [Neo4j] CNFE in Neo4j Server

2011-04-07 Thread Tobias Ivarsson
The simplest explanation is probably the correct one: it is not on the
classpath.
This class is to be found in the jersey-server-1.3.jar is that jar on the
classpath? (or in jersey-client-1.3.jar, either will do)

The simplest way one might be fooled into not including it in the classpath
is due to there not being a compile-time dependency on it. the JAX-RS API
does not require an implementation for compiling, but at runtime you must
have a valid JAX-RS implementation available on the classpath. The default
implementation is the one defined by com.sun.ws.rs.ext.RuntimeDelegateImpl,
a class that jersey provides, being the reference implementation.

-tobias

On Thu, Apr 7, 2011 at 7:19 AM, Peter Neubauer 
peter.neuba...@neotechnology.com wrote:

 Hi there,
 trying to execute

 https://github.com/peterneubauer/neo4j-gremlin-plugin/blob/master/src/test/org/neo4j/server/plugin/gremlin/GremlinPluginTest.java
 as a JUnit test on Eclipse/Mac with default JDK, Saikat is getting the
 following:


 java.lang.ExceptionInInitializerError
   at
 org.neo4j.server.rest.repr.formats.JsonFormat.init(JsonFormat.java:43)
   at
 org.neo4j.server.plugin.gremlin.GremlinPluginTest.setUpBeforeClass(GremlinPluginTest.java:37)
   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)
   at
 org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44)
   at
 org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
   at
 org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41)
   at
 org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:27)
   at org.junit.runners.ParentRunner.run(ParentRunner.java:236)
   at
 org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:49)
   at
 org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
   at
 org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:467)
   at
 org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:683)
   at
 org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:390)
   at
 org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:197)
 Caused by: java.lang.RuntimeException:
 java.lang.ClassNotFoundException:
 com.sun.ws.rs.ext.RuntimeDelegateImpl
   at javax.ws.rs.ext.RuntimeDelegate.findDelegate(RuntimeDelegate.java:122)
   at javax.ws.rs.ext.RuntimeDelegate.getInstance(RuntimeDelegate.java:91)
   at javax.ws.rs.core.MediaType.clinit(MediaType.java:44)
   ... 17 more
 Caused by: java.lang.ClassNotFoundException:
 com.sun.ws.rs.ext.RuntimeDelegateImpl
   at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
   at java.security.AccessController.doPrivileged(Native Method)
   at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
   at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
   at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
   at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
   at java.lang.Class.forName0(Native Method)
   at java.lang.Class.forName(Class.java:169)
   at javax.ws.rs.ext.FactoryFinder.newInstance(FactoryFinder.java:62)
   at javax.ws.rs.ext.FactoryFinder.find(FactoryFinder.java:155)
   at javax.ws.rs.ext.RuntimeDelegate.findDelegate(RuntimeDelegate.java:105)
   ... 19 more

 Any clues on why there is a class missing?

 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.
 ___
 Neo4j mailing list
 User@lists.neo4j.org
 https://lists.neo4j.org/mailman/listinfo/user




-- 
Tobias Ivarsson tobias.ivars...@neotechnology.com
Hacker, Neo Technology
www.neotechnology.com
Cellphone: +46 706 534857
___
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user


Re: [Neo4j] CNFE in Neo4j Server

2011-04-07 Thread Saikat Kanjilal

Thanks Tobias, I dont believe I have this on my runtime classpath, I'll include 
it now.

 From: tobias.ivars...@neotechnology.com
 Date: Thu, 7 Apr 2011 08:06:51 +0200
 To: user@lists.neo4j.org
 Subject: Re: [Neo4j] CNFE in Neo4j Server
 
 The simplest explanation is probably the correct one: it is not on the
 classpath.
 This class is to be found in the jersey-server-1.3.jar is that jar on the
 classpath? (or in jersey-client-1.3.jar, either will do)
 
 The simplest way one might be fooled into not including it in the classpath
 is due to there not being a compile-time dependency on it. the JAX-RS API
 does not require an implementation for compiling, but at runtime you must
 have a valid JAX-RS implementation available on the classpath. The default
 implementation is the one defined by com.sun.ws.rs.ext.RuntimeDelegateImpl,
 a class that jersey provides, being the reference implementation.
 
 -tobias
 
 On Thu, Apr 7, 2011 at 7:19 AM, Peter Neubauer 
 peter.neuba...@neotechnology.com wrote:
 
  Hi there,
  trying to execute
 
  https://github.com/peterneubauer/neo4j-gremlin-plugin/blob/master/src/test/org/neo4j/server/plugin/gremlin/GremlinPluginTest.java
  as a JUnit test on Eclipse/Mac with default JDK, Saikat is getting the
  following:
 
 
  java.lang.ExceptionInInitializerError
at
  org.neo4j.server.rest.repr.formats.JsonFormat.init(JsonFormat.java:43)
at
  org.neo4j.server.plugin.gremlin.GremlinPluginTest.setUpBeforeClass(GremlinPluginTest.java:37)
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)
at
  org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44)
at
  org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
at
  org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41)
at
  org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:27)
at org.junit.runners.ParentRunner.run(ParentRunner.java:236)
at
  org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:49)
at
  org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
at
  org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:467)
at
  org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:683)
at
  org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:390)
at
  org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:197)
  Caused by: java.lang.RuntimeException:
  java.lang.ClassNotFoundException:
  com.sun.ws.rs.ext.RuntimeDelegateImpl
at javax.ws.rs.ext.RuntimeDelegate.findDelegate(RuntimeDelegate.java:122)
at javax.ws.rs.ext.RuntimeDelegate.getInstance(RuntimeDelegate.java:91)
at javax.ws.rs.core.MediaType.clinit(MediaType.java:44)
... 17 more
  Caused by: java.lang.ClassNotFoundException:
  com.sun.ws.rs.ext.RuntimeDelegateImpl
at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:169)
at javax.ws.rs.ext.FactoryFinder.newInstance(FactoryFinder.java:62)
at javax.ws.rs.ext.FactoryFinder.find(FactoryFinder.java:155)
at javax.ws.rs.ext.RuntimeDelegate.findDelegate(RuntimeDelegate.java:105)
... 19 more
 
  Any clues on why there is a class missing?
 
  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.
  ___
  Neo4j mailing list
  User@lists.neo4j.org
  https://lists.neo4j.org/mailman/listinfo/user
 
 
 
 
 -- 
 Tobias Ivarsson tobias.ivars...@neotechnology.com
 Hacker, Neo Technology
 www.neotechnology.com
 Cellphone: +46 706 534857
 ___
 Neo4j mailing list
 User@lists.neo4j.org
 https://lists.neo4j.org/mailman/listinfo/user
  
___
Neo4j mailing list
User@lists.neo4j.org

Re: [Neo4j] Constructing an evaluator that only takes specific nodes from a path

2011-04-07 Thread Tobias Ivarsson
That would be EXCLUDE_AND_PRUNE.

On Thu, Apr 7, 2011 at 7:58 AM, Dario Rexin dario.re...@xing.com wrote:

 Hi Peter, yes that would be not to include the path in the result set.



 On 07.04.2011, at 07:01, Peter Neubauer 
 peter.neuba...@neotechnology.com wrote:

  Dario,
  I am not quite sure I understand what you mean by drop is that not
  to include the path into the result or prune or something else? Do you
  have a concrete example of this, maybe a simple toy graph test with
  toy information?
 
  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, Apr 6, 2011 at 6:35 PM, Dario Rexin dario.re...@xing.com
 wrote:
  Hello,
 
  we are trying to construct an Evaluator that will select only one node
 from the middle of a path and include it in the result. We do have a
 specific path we are looking for and the endNode is stored in 'end'. Now
 what we would like to do is have an Evaluator like this:
 
   import org.neo4j.graphdb.traversal.
  Evaluator;
 
   new Evaluator(){
 @Override
 public Evaluation evaluate(org.neo4j.graphdb.Path path) {
 if(path.length()  3) {
 return Evaluation.EXCLUDE_AND_PRUNE;
 } else if (path.length() == 2) {
 return Evaluation.INCLUDE_AND_CONTINUE;
 } else if (path.length()  2){
 return Evaluation.EXCLUDE_AND_CONTINUE;
 } else {
 return path.endNode().getId() == end.getId() ?
 Evaluation.EXCLUDE_AND_PRUNE : Evaluation.DROP_PATH_AND_PRUNE;
 }
 }
   }
 
  The decision on whether to accept or drop a path is based on wether we
 have reached the endNode. That's why we would like to use something like
 DROP_PATH_AND_PRUNE, which doesn't exist. What are we missing?
 
  Any help appreciated!
 
  Thanks,
  Stephan and Dario
  ___
  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




-- 
Tobias Ivarsson tobias.ivars...@neotechnology.com
Hacker, Neo Technology
www.neotechnology.com
Cellphone: +46 706 534857
___
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user


Re: [Neo4j] Constructing an evaluator that only takes specific nodes from a path

2011-04-07 Thread Mattias Persson
INCLUDE_AND_CONTINUE
the path will be included in the result set and the traversal will
go further down that path
INCLUDE_AND_PRUNE
the path will be included in the result set, but the traversal
will continue from that path
EXCLUDE_AND_CONTINUE
the path won't be included in the result set, but the traversal
will continue from that path
EXCLUDE_AND_PRUNE
the path won't be included in the result set and the traversal
won't go further down that path, but will continue down other paths
that haven't been pruned

2011/4/7 Tobias Ivarsson tobias.ivars...@neotechnology.com:
 That would be EXCLUDE_AND_PRUNE.

 On Thu, Apr 7, 2011 at 7:58 AM, Dario Rexin dario.re...@xing.com wrote:

 Hi Peter, yes that would be not to include the path in the result set.



 On 07.04.2011, at 07:01, Peter Neubauer 
 peter.neuba...@neotechnology.com wrote:

  Dario,
  I am not quite sure I understand what you mean by drop is that not
  to include the path into the result or prune or something else? Do you
  have a concrete example of this, maybe a simple toy graph test with
  toy information?
 
  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, Apr 6, 2011 at 6:35 PM, Dario Rexin dario.re...@xing.com
 wrote:
  Hello,
 
  we are trying to construct an Evaluator that will select only one node
 from the middle of a path and include it in the result. We do have a
 specific path we are looking for and the endNode is stored in 'end'. Now
 what we would like to do is have an Evaluator like this:
 
           import org.neo4j.graphdb.traversal.
  Evaluator;
 
           new Evaluator(){
             @Override
             public Evaluation evaluate(org.neo4j.graphdb.Path path) {
                 if(path.length()  3) {
                     return Evaluation.EXCLUDE_AND_PRUNE;
                 } else if (path.length() == 2) {
                     return Evaluation.INCLUDE_AND_CONTINUE;
                 } else if (path.length()  2){
                     return Evaluation.EXCLUDE_AND_CONTINUE;
                 } else {
                     return path.endNode().getId() == end.getId() ?
 Evaluation.EXCLUDE_AND_PRUNE : Evaluation.DROP_PATH_AND_PRUNE;
                 }
             }
           }
 
  The decision on whether to accept or drop a path is based on wether we
 have reached the endNode. That's why we would like to use something like
 DROP_PATH_AND_PRUNE, which doesn't exist. What are we missing?
 
  Any help appreciated!
 
  Thanks,
  Stephan and Dario
  ___
  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




 --
 Tobias Ivarsson tobias.ivars...@neotechnology.com
 Hacker, Neo Technology
 www.neotechnology.com
 Cellphone: +46 706 534857
 ___
 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] Constructing an evaluator that only takes specific nodes from a path

2011-04-07 Thread Mattias Persson
Sory, I meant

INCLUDE_AND_PRUNE
   the path will be included in the result set, but the traversal
   won't go further down that path, but will continue down other paths
   that haven't been pruned



-- 
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] release party berlin

2011-04-07 Thread Pere Urbón Bayes
+1

/purbon

2011/4/7 Michael Hunger michael.hun...@neotechnology.com

 Thomas and I will do it on the evening of Sunday, April 17th, the day
 before I leave for Malmö this month.

 The party is to be held in the lots of different beer pub Aufsturz,
 http://www.aufsturz.de/,  oranienburger str. 67.

 If I'm going to reserve some seats there, how many people should I account
 for? Rather 10, 100 or more ?

 So, who wants to come?

 Cheers

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




-- 

Pere Urbón-Bayes  pere.ur...@gmail.com

http://www.purbon.com
http://twitter.com/purbon

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


Re: [Neo4j] How to trim first couple nodes from path in traversal framework?

2011-04-07 Thread Mattias Persson
You'd have to do the filtering/pruning in an evaluator, but the
sub-pathing afterwards, like:

   for ( Path path : description.traverse(...) )
   {
   path = subPath( path, 2 );
   }

private Path subPath( Path source, int from )
{
if ( source.length()  from )
throw new IllegalArgumentException( source +  isn't long
enough ( + from + ) );

IteratorNode nodes = source.nodes().iterator();
IteratorRelationship relationships =
source.relationships().iterator();
for ( int i = 0; i  from; i++ )
{
nodes.next();
relationships.next();
}
PathImpl.Builder builder = new PathImpl.Builder( nodes.next() );
while ( relationships.hasNext() )
{
builder = builder.push( relationships.next() );
}
return builder.build();
}

Such a method should preferably be added to the Path interface,
Path#subPath or similar and it would be implemented much better also
:)

2011/4/7 Brendan Cheng ccp...@gmail.com:
 Hi,

 I would like to fetch a ending portion of a path where the timestamp
 of the relationship match.  for example:

 (Node 1)---2pm(Node 3)---3PM---(Node 4)4PM---(Node 64)

 from the above , I only want the subpath starting from Node 4 onward
 for the timestamp greater than 3:30PM


 How could I code evaluator to do it?

 Thanks in advance,

 Brendan
 ___
 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] Constructing an evaluator that only takes specific nodes from a path

2011-04-07 Thread Stephan Hagemann
Hi guys,

Dario and I are working together on this, so let me clarify, what we want to
achieve. An example query in a friend network would be:

Retrieve a set of people P that are the direct friends of person A. P should
include only those friends that are also on a path between A and another
user B.

We know how to find paths, but we fail at returning nodes - let alone sets
of nodes.

The old ReturnableEvaluator seemed to achieve just that: A client hook for
evaluating whether a specific node should be returned from a traverser.,
but that is deprecated in the current milestone release. We're unable to
find the equivalent functionality with the new Traversal framework.

Thanks
Stephan



On Thu, Apr 7, 2011 at 09:35, Mattias Persson matt...@neotechnology.comwrote:

 Sory, I meant

 INCLUDE_AND_PRUNE
the path will be included in the result set, but the traversal
won't go further down that path, but will continue down other paths
   that haven't been pruned



 --
 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

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


Re: [Neo4j] Constructing an evaluator that only takes specific nodes from a path

2011-04-07 Thread Mattias Persson
2011/4/7 Stephan Hagemann stephan.hagem...@googlemail.com:
 Hi guys,

 Dario and I are working together on this, so let me clarify, what we want to
 achieve. An example query in a friend network would be:

 Retrieve a set of people P that are the direct friends of person A. P should
 include only those friends that are also on a path between A and another
 user B.

 We know how to find paths, but we fail at returning nodes - let alone sets
 of nodes.

 The old ReturnableEvaluator seemed to achieve just that: A client hook for
 evaluating whether a specific node should be returned from a traverser.,
 but that is deprecated in the current milestone release. We're unable to
 find the equivalent functionality with the new Traversal framework.

ReturnableEvaluator is like controlling the INCLUDE/EXCLUDE part of an
evaluation
StopEvaluator is like controlling the CONTINUE/PRUNE part of an evaluation

The @Deprecated TraversalDescription#prune and #filter are also a
direct mapping of StopEvaluator and ReturnableEvaluator respectively.
Evaluator replaces those and combines them into one concept where you
can express the same semantics.


 Thanks
 Stephan



 On Thu, Apr 7, 2011 at 09:35, Mattias Persson 
 matt...@neotechnology.comwrote:

 Sory, I meant

 INCLUDE_AND_PRUNE
    the path will be included in the result set, but the traversal
    won't go further down that path, but will continue down other paths
   that haven't been pruned



 --
 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

 ___
 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] Constructing an evaluator that only takes specific nodes from a path

2011-04-07 Thread Michael Hunger
I think the confusing thing here is that ReturnableEvaluator talked about 
including/excluding nodes
whereas when describing the Evaluations you spoke about including/excluding 
paths.

Which of those is correct ?

Cheers

Michael

Am 07.04.2011 um 10:40 schrieb Mattias Persson:

 2011/4/7 Stephan Hagemann stephan.hagem...@googlemail.com:
 Hi guys,
 
 Dario and I are working together on this, so let me clarify, what we want to
 achieve. An example query in a friend network would be:
 
 Retrieve a set of people P that are the direct friends of person A. P should
 include only those friends that are also on a path between A and another
 user B.
 
 We know how to find paths, but we fail at returning nodes - let alone sets
 of nodes.
 
 The old ReturnableEvaluator seemed to achieve just that: A client hook for
 evaluating whether a specific node should be returned from a traverser.,
 but that is deprecated in the current milestone release. We're unable to
 find the equivalent functionality with the new Traversal framework.
 
 ReturnableEvaluator is like controlling the INCLUDE/EXCLUDE part of an
 evaluation
 StopEvaluator is like controlling the CONTINUE/PRUNE part of an evaluation
 
 The @Deprecated TraversalDescription#prune and #filter are also a
 direct mapping of StopEvaluator and ReturnableEvaluator respectively.
 Evaluator replaces those and combines them into one concept where you
 can express the same semantics.
 
 
 Thanks
 Stephan
 
 
 
 On Thu, Apr 7, 2011 at 09:35, Mattias Persson 
 matt...@neotechnology.comwrote:
 
 Sory, I meant
 
 INCLUDE_AND_PRUNE
the path will be included in the result set, but the traversal
won't go further down that path, but will continue down other paths
   that haven't been pruned
 
 
 
 --
 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
 
 ___
 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

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


Re: [Neo4j] Constructing an evaluator that only takes specific nodes from a path

2011-04-07 Thread Stephan Hagemann
If they are indeed equivalent, Michael is right - then I was confused by the
doc talking about nodes vs the other talking about paths.


On Thu, Apr 7, 2011 at 10:43, Michael Hunger 
michael.hun...@neotechnology.com wrote:

 I think the confusing thing here is that ReturnableEvaluator talked about
 including/excluding nodes
 whereas when describing the Evaluations you spoke about including/excluding
 paths.

 Which of those is correct ?

 Cheers

 Michael

 Am 07.04.2011 um 10:40 schrieb Mattias Persson:

  2011/4/7 Stephan Hagemann stephan.hagem...@googlemail.com:
  Hi guys,
 
  Dario and I are working together on this, so let me clarify, what we
 want to
  achieve. An example query in a friend network would be:
 
  Retrieve a set of people P that are the direct friends of person A. P
 should
  include only those friends that are also on a path between A and another
  user B.
 
  We know how to find paths, but we fail at returning nodes - let alone
 sets
  of nodes.
 
  The old ReturnableEvaluator seemed to achieve just that: A client hook
 for
  evaluating whether a specific node should be returned from a
 traverser.,
  but that is deprecated in the current milestone release. We're unable to
  find the equivalent functionality with the new Traversal framework.
 
  ReturnableEvaluator is like controlling the INCLUDE/EXCLUDE part of an
  evaluation
  StopEvaluator is like controlling the CONTINUE/PRUNE part of an
 evaluation
 
  The @Deprecated TraversalDescription#prune and #filter are also a
  direct mapping of StopEvaluator and ReturnableEvaluator respectively.
  Evaluator replaces those and combines them into one concept where you
  can express the same semantics.
 
 
  Thanks
  Stephan
 
 
 
  On Thu, Apr 7, 2011 at 09:35, Mattias Persson 
 matt...@neotechnology.comwrote:
 
  Sory, I meant
 
  INCLUDE_AND_PRUNE
 the path will be included in the result set, but the traversal
 won't go further down that path, but will continue down other paths
that haven't been pruned
 
 
 
  --
  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
 
  ___
  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

 ___
 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] Constructing an evaluator that only takes specific nodes from a path

2011-04-07 Thread Mattias Persson
2011/4/7 Michael Hunger michael.hun...@neotechnology.com:
 I think the confusing thing here is that ReturnableEvaluator talked about 
 including/excluding nodes
 whereas when describing the Evaluations you spoke about including/excluding 
 paths.

Oh, sorry... one major difference from the old traversal framework is
that it returns nodes. The new framework returns paths leading from
the start node up to that node. You still make include/exclude
decisions based on the current position of the traversal, just that in
the new framework you've got the full path in addition to the current
node (the end node of the path).

 Which of those is correct ?

 Cheers

 Michael

 Am 07.04.2011 um 10:40 schrieb Mattias Persson:

 2011/4/7 Stephan Hagemann stephan.hagem...@googlemail.com:
 Hi guys,

 Dario and I are working together on this, so let me clarify, what we want to
 achieve. An example query in a friend network would be:

 Retrieve a set of people P that are the direct friends of person A. P should
 include only those friends that are also on a path between A and another
 user B.

 We know how to find paths, but we fail at returning nodes - let alone sets
 of nodes.

 The old ReturnableEvaluator seemed to achieve just that: A client hook for
 evaluating whether a specific node should be returned from a traverser.,
 but that is deprecated in the current milestone release. We're unable to
 find the equivalent functionality with the new Traversal framework.

 ReturnableEvaluator is like controlling the INCLUDE/EXCLUDE part of an
 evaluation
 StopEvaluator is like controlling the CONTINUE/PRUNE part of an evaluation

 The @Deprecated TraversalDescription#prune and #filter are also a
 direct mapping of StopEvaluator and ReturnableEvaluator respectively.
 Evaluator replaces those and combines them into one concept where you
 can express the same semantics.


 Thanks
 Stephan



 On Thu, Apr 7, 2011 at 09:35, Mattias Persson 
 matt...@neotechnology.comwrote:

 Sory, I meant

 INCLUDE_AND_PRUNE
    the path will be included in the result set, but the traversal
    won't go further down that path, but will continue down other paths
   that haven't been pruned



 --
 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

 ___
 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

 ___
 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


[Neo4j] Lucene 3.1 with neo4j. Is it OK?

2011-04-07 Thread Balazs E. Pataki
Hi,

the subject says is all. :-) But anyway, is it possible/safe to use the 
brand new 3.1 (31 March 2011) release of Lucene with neo4j?

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


Re: [Neo4j] Constructing an evaluator that only takes specific nodes from a path

2011-04-07 Thread Mattias Persson
2011/4/7 Stephan Hagemann stephan.hagem...@googlemail.com:
 Thanks for clearing that up!

 Then I can come back to my initial comment. If the Evaluator returns paths
 and we are looking for nodes (sets of nodes to be specific), we have no easy
 mechanism that will ensure we do not return duplicate nodes (because the
 paths they are extracted from are not duplicates). Again, with the example:

 Retrieve a set of people P that are the direct friends of person A. P should
 include only those friends that are also on a path between A and another
 user B.

 I have attach an image that highlights this problem.

 As you can see from the attached image, querying for the paths that satisfy
 this proposition will lead to a duplication of node P in the result. If we
 deduplicate after the traversal, we can't stop the traversal when we have
 found the maximum number of nodes we wanted to return.

Oh, so if any node in the path has been returned in any other path
before if (except the start node) then exclude it? That's the first
time I've heard that requirement. Love the fact that you sent a
picture, guys :)

So what about:

   int hitCount = 0;
   for ( Path path : ...traverse(...) ) {
   if ( unique( path ) ) {
   if ( hitCount++ = 50 )
   break;
   // handle the path
   }
   }

...or wrap the IterablePath from traverse in:

   new FilteringIterablePath(...traverse(...), new PredicatePath() {
   public boolean accept( Path path ) {
   return unique( path );
   }
   } );

and only iterate max 50 of those. Write the unique() method however
you'd like... maybe just with a SetNode with all the nodes except
the start/end nodes and add all those nodes from each path and if that
set had any of those nodes then don't consider it unique.


 That is... unless we specify more complex include/exclude/continue/prune
 rules in an Evaluator that takes into account the nodes that it has
 internally stored as returnables. Is that the way to go?


 On Thu, Apr 7, 2011 at 10:48, Mattias Persson 
 matt...@neotechnology.comwrote:

 2011/4/7 Michael Hunger michael.hun...@neotechnology.com:
  I think the confusing thing here is that ReturnableEvaluator talked about
 including/excluding nodes
  whereas when describing the Evaluations you spoke about
 including/excluding paths.

 Oh, sorry... one major difference from the old traversal framework is
 that it returns nodes. The new framework returns paths leading from
 the start node up to that node. You still make include/exclude
 decisions based on the current position of the traversal, just that in
 the new framework you've got the full path in addition to the current
 node (the end node of the path).
 
  Which of those is correct ?
 
  Cheers
 
  Michael
 
  Am 07.04.2011 um 10:40 schrieb Mattias Persson:
 
  2011/4/7 Stephan Hagemann stephan.hagem...@googlemail.com:
  Hi guys,
 
  Dario and I are working together on this, so let me clarify, what we
 want to
  achieve. An example query in a friend network would be:
 
  Retrieve a set of people P that are the direct friends of person A. P
 should
  include only those friends that are also on a path between A and
 another
  user B.
 
  We know how to find paths, but we fail at returning nodes - let alone
 sets
  of nodes.
 
  The old ReturnableEvaluator seemed to achieve just that: A client hook
 for
  evaluating whether a specific node should be returned from a
 traverser.,
  but that is deprecated in the current milestone release. We're unable
 to
  find the equivalent functionality with the new Traversal framework.
 
  ReturnableEvaluator is like controlling the INCLUDE/EXCLUDE part of an
  evaluation
  StopEvaluator is like controlling the CONTINUE/PRUNE part of an
 evaluation
 
  The @Deprecated TraversalDescription#prune and #filter are also a
  direct mapping of StopEvaluator and ReturnableEvaluator respectively.
  Evaluator replaces those and combines them into one concept where you
  can express the same semantics.
 
 
  Thanks
  Stephan
 
 
 
  On Thu, Apr 7, 2011 at 09:35, Mattias Persson 
 matt...@neotechnology.comwrote:
 
  Sory, I meant
 
  INCLUDE_AND_PRUNE
     the path will be included in the result set, but the traversal
     won't go further down that path, but will continue down other paths
    that haven't been pruned
 
 
 
  --
  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
 
  ___
  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] Lucene 3.1 with neo4j. Is it OK?

2011-04-07 Thread Tobias Ivarsson
I see no reason for it not to work, Lucene has a good story of compatibility
between releases with the same major version.

But please note that this isn't something Neo Technology would officially
support (yet), so from that point of view you'd be on your own.

-t

On Thu, Apr 7, 2011 at 11:16 AM, Balazs E. Pataki pat...@dsd.sztaki.huwrote:

 Hi,

 the subject says is all. :-) But anyway, is it possible/safe to use the
 brand new 3.1 (31 March 2011) release of Lucene with neo4j?

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




-- 
Tobias Ivarsson tobias.ivars...@neotechnology.com
Hacker, Neo Technology
www.neotechnology.com
Cellphone: +46 706 534857
___
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user


Re: [Neo4j] Lucene 3.1 with neo4j. Is it OK?

2011-04-07 Thread Balazs E. Pataki
Ok, thanks. I will try and report if I find out something (good or bad).
---
balazs

On 4/7/11 11:44 AM, Tobias Ivarsson wrote:
 I see no reason for it not to work, Lucene has a good story of compatibility
 between releases with the same major version.

 But please note that this isn't something Neo Technology would officially
 support (yet), so from that point of view you'd be on your own.

 -t

 On Thu, Apr 7, 2011 at 11:16 AM, Balazs E. Patakipat...@dsd.sztaki.huwrote:

 Hi,

 the subject says is all. :-) But anyway, is it possible/safe to use the
 brand new 3.1 (31 March 2011) release of Lucene with neo4j?

 Thanks,
 ---
 balazs
 ___
 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] Constructing an evaluator that only takes specific nodes from a path

2011-04-07 Thread Stephan Hagemann
Thanks, that will help! Iwill try defining my own uniqueness criteria.


  Oh, so if any node in the path has been returned in any other path
 before if (except the start node) then exclude it? That's the first
 time I've heard that requirement. Love the fact that you sent a
 picture, guys :)


Handcrafted - that's how we do it ;)

Our requirement is a little bit different than you state it:

if any node in the path _that will be returned_ has been returned in any
other path
before then exclude it.
___
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user


Re: [Neo4j] building from source

2011-04-07 Thread Will Holcomb
Thanks. I was trying to use the jar target rather than install.

That build fails with:

---
 T E S T S
---
Running org.neo4j.com.TestCommunication
Thu Apr 07 10:53:14 EDT 2011: MadeUpServer communication server started and
bound to 1234
[MadeUpServerProcess:27271] Thu Apr 07 10:53:15 EDT 2011: MadeUpServer
communication server started and bound to 
[MadeUpServerProcess:27271] Thu Apr 07 10:53:24 EDT 2011: MadeUpServer
shutdown, closing all channels
Tests run: 5, Failures: 1, Errors: 3, Skipped: 0, Time elapsed: 10.353 sec
 FAILURE!

Results :

Failed tests:
  clientGetResponseFromServerViaComLayer(org.neo4j.com.TestCommunication)

Tests in error:
  makeSureClientStoreIdsMustMatch(org.neo4j.com.TestCommunication)
  makeSureServerStoreIdsMustMatch(org.neo4j.com.TestCommunication)
  makeSureClientCanStreamBigData(org.neo4j.com.TestCommunication)

Tests run: 5, Failures: 1, Errors: 3, Skipped: 0


I can get it to build though with: mvn -Dmaven.test.skip=true install

–☮W

On Thu, Apr 7, 2011 at 1:05 AM, Peter Neubauer 
peter.neuba...@neotechnology.com wrote:

 Willi,
 the main build tool is maven, and we are in the middle of a
 major reshuffling on GIT, so if you install maven.apache.org and try
 mvn clean install that, things should work out better. Would that be
 an option?

 Cheers,

 /peter neubauer

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


Re: [Neo4j] building from source

2011-04-07 Thread Tobias Ivarsson
The failures you are seeing are for tests that deal with large data. They
thus need a large heap configuration to succeed.

For specifying such settings for maven you would use the MAVEN_OPTS
environment variable, something like:

export MAVEN_OPTS=-Xmx1G

Cheers,
Tobias

On Thu, Apr 7, 2011 at 4:58 PM, Will Holcomb w...@dhappy.org wrote:

 Thanks. I was trying to use the jar target rather than install.

 That build fails with:

 ---
  T E S T S
 ---
 Running org.neo4j.com.TestCommunication
 Thu Apr 07 10:53:14 EDT 2011: MadeUpServer communication server started and
 bound to 1234
 [MadeUpServerProcess:27271] Thu Apr 07 10:53:15 EDT 2011: MadeUpServer
 communication server started and bound to 
 [MadeUpServerProcess:27271] Thu Apr 07 10:53:24 EDT 2011: MadeUpServer
 shutdown, closing all channels
 Tests run: 5, Failures: 1, Errors: 3, Skipped: 0, Time elapsed: 10.353 sec
  FAILURE!

 Results :

 Failed tests:
  clientGetResponseFromServerViaComLayer(org.neo4j.com.TestCommunication)

 Tests in error:
  makeSureClientStoreIdsMustMatch(org.neo4j.com.TestCommunication)
  makeSureServerStoreIdsMustMatch(org.neo4j.com.TestCommunication)
  makeSureClientCanStreamBigData(org.neo4j.com.TestCommunication)

 Tests run: 5, Failures: 1, Errors: 3, Skipped: 0


 I can get it to build though with: mvn -Dmaven.test.skip=true install

 –☮W

 On Thu, Apr 7, 2011 at 1:05 AM, Peter Neubauer 
 peter.neuba...@neotechnology.com wrote:

  Willi,
  the main build tool is maven, and we are in the middle of a
  major reshuffling on GIT, so if you install maven.apache.org and try
  mvn clean install that, things should work out better. Would that be
  an option?
 
  Cheers,
 
  /peter neubauer
 
 ___
 Neo4j mailing list
 User@lists.neo4j.org
 https://lists.neo4j.org/mailman/listinfo/user




-- 
Tobias Ivarsson tobias.ivars...@neotechnology.com
Hacker, Neo Technology
www.neotechnology.com
Cellphone: +46 706 534857
___
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user


[Neo4j] Neo4j Neo Technology logos in vector format?

2011-04-07 Thread Alex Averbuch
Hey,
As subject, is there anywhere I can get Neo4j or Neo Technology logos in
vector image format (ps, eps, pdf, svg)?
I'll be using them in a few posters at work, for the SICS open day. They
will be advertising past and ongoing Neo Technology related research.

A lot of people from industry will participate, so it's a opportunity to
advertise.

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


Re: [Neo4j] Neo4j Neo Technology logos in vector format?

2011-04-07 Thread Will Holcomb
I did this a bit ago and it might help start you off:
http://will.tip.dhappy.org/image/logo/Neo4j/

On Thu, Apr 7, 2011 at 11:59 AM, Alex Averbuch alex.averb...@gmail.comwrote:

 Hey,
 As subject, is there anywhere I can get Neo4j or Neo Technology logos in
 vector image format (ps, eps, pdf, svg)?
 I'll be using them in a few posters at work, for the SICS open day. They
 will be advertising past and ongoing Neo Technology related research.

 A lot of people from industry will participate, so it's a opportunity to
 advertise.

 Cheers,
 Alex
 ___
 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 Neo Technology logos in vector format?

2011-04-07 Thread Alex Averbuch
Thanks Will!

On Thu, Apr 7, 2011 at 6:08 PM, Will Holcomb w...@dhappy.org wrote:

 I did this a bit ago and it might help start you off:
 http://will.tip.dhappy.org/image/logo/Neo4j/

 On Thu, Apr 7, 2011 at 11:59 AM, Alex Averbuch alex.averb...@gmail.com
 wrote:

  Hey,
  As subject, is there anywhere I can get Neo4j or Neo Technology logos in
  vector image format (ps, eps, pdf, svg)?
  I'll be using them in a few posters at work, for the SICS open day. They
  will be advertising past and ongoing Neo Technology related research.
 
  A lot of people from industry will participate, so it's a opportunity to
  advertise.
 
  Cheers,
  Alex
  ___
  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] Lucene 3.1 with neo4j. Is it OK?

2011-04-07 Thread Rick Bullotta
Any plans to officially test Lucene 3.1 for Neo 1.3 GA?  

There are plenty of useful things and bug fixes in Lucene 3.1.


-Original Message-
From: user-boun...@lists.neo4j.org [mailto:user-boun...@lists.neo4j.org] On 
Behalf Of Tobias Ivarsson
Sent: Thursday, April 07, 2011 5:45 AM
To: Neo4j user discussions
Subject: Re: [Neo4j] Lucene 3.1 with neo4j. Is it OK?

I see no reason for it not to work, Lucene has a good story of compatibility
between releases with the same major version.

But please note that this isn't something Neo Technology would officially
support (yet), so from that point of view you'd be on your own.

-t

On Thu, Apr 7, 2011 at 11:16 AM, Balazs E. Pataki pat...@dsd.sztaki.huwrote:

 Hi,

 the subject says is all. :-) But anyway, is it possible/safe to use the
 brand new 3.1 (31 March 2011) release of Lucene with neo4j?

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




-- 
Tobias Ivarsson tobias.ivars...@neotechnology.com
Hacker, Neo Technology
www.neotechnology.com
Cellphone: +46 706 534857
___
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] Using Neo4J with Apache Solr

2011-04-07 Thread Rick Bullotta
Does anyone have any experience using Solr with Neo4J?


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


Re: [Neo4j] Using Neo4J with Apache Solr

2011-04-07 Thread Cedric Hurst
I've had moderate success tying Solr into Neo4J using an custom
UpdateRequestProcessor:

http://wiki.apache.org/solr/UpdateRequestProcessor

With this, I'm able to intercept incoming documents and update a graph
to keep everything in sync.  In my case, Solr is my primary system of
record and I'm pushing updates to the graph asychronously (without
touching the Solr document at all).

Augmenting your query logic to support graph lookup is a different
matter, though, and would likely involve doing some customization at
the Lucene level.  Another possibility is to define a custom function
of value source which hooks into Neo4J somehow:

http://lucene.apache.org/solr/api/org/apache/solr/search/function/package-summary.html

But it all depends on your use case.

On Thu, Apr 7, 2011 at 11:32 AM, Rick Bullotta
rick.bullo...@thingworx.com wrote:
 Does anyone have any experience using Solr with Neo4J?


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




-- 
Build Smarter Software.

Spantree Technology Group, LLC
email: ced...@spantree.net | phone: 773.359.3865
http://www.spantree.net
___
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user


Re: [Neo4j] Lucene 3.1 with neo4j. Is it OK?

2011-04-07 Thread Tobias Ivarsson
1.3 is frozen, nothing new is going in until the 1.4 line.

-tobias

On Thu, Apr 7, 2011 at 6:32 PM, Rick Bullotta
rick.bullo...@thingworx.comwrote:

 Any plans to officially test Lucene 3.1 for Neo 1.3 GA?

 There are plenty of useful things and bug fixes in Lucene 3.1.


 -Original Message-
 From: user-boun...@lists.neo4j.org [mailto:user-boun...@lists.neo4j.org]
 On Behalf Of Tobias Ivarsson
 Sent: Thursday, April 07, 2011 5:45 AM
 To: Neo4j user discussions
 Subject: Re: [Neo4j] Lucene 3.1 with neo4j. Is it OK?

 I see no reason for it not to work, Lucene has a good story of
 compatibility
 between releases with the same major version.

 But please note that this isn't something Neo Technology would officially
 support (yet), so from that point of view you'd be on your own.

 -t

 On Thu, Apr 7, 2011 at 11:16 AM, Balazs E. Pataki pat...@dsd.sztaki.hu
 wrote:

  Hi,
 
  the subject says is all. :-) But anyway, is it possible/safe to use the
  brand new 3.1 (31 March 2011) release of Lucene with neo4j?
 
  Thanks,
  ---
  balazs
  ___
  Neo4j mailing list
  User@lists.neo4j.org
  https://lists.neo4j.org/mailman/listinfo/user
 



 --
 Tobias Ivarsson tobias.ivars...@neotechnology.com
 Hacker, Neo Technology
 www.neotechnology.com
 Cellphone: +46 706 534857
 ___
 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




-- 
Tobias Ivarsson tobias.ivars...@neotechnology.com
Hacker, Neo Technology
www.neotechnology.com
Cellphone: +46 706 534857
___
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user


Re: [Neo4j] Neo4j Neo Technology logos in vector format?

2011-04-07 Thread Peter Neubauer
Nice!
Also, I think Andreas Kollegger has been doing Vector Magic with the
logo lately?

/peter

On Thu, Apr 7, 2011 at 6:15 PM, Alex Averbuch alex.averb...@gmail.com wrote:
 Thanks Will!

 On Thu, Apr 7, 2011 at 6:08 PM, Will Holcomb w...@dhappy.org wrote:

 I did this a bit ago and it might help start you off:
 http://will.tip.dhappy.org/image/logo/Neo4j/

 On Thu, Apr 7, 2011 at 11:59 AM, Alex Averbuch alex.averb...@gmail.com
 wrote:

  Hey,
  As subject, is there anywhere I can get Neo4j or Neo Technology logos in
  vector image format (ps, eps, pdf, svg)?
  I'll be using them in a few posters at work, for the SICS open day. They
  will be advertising past and ongoing Neo Technology related research.
 
  A lot of people from industry will participate, so it's a opportunity to
  advertise.
 
  Cheers,
  Alex
  ___
  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] Using Neo4J with Apache Solr

2011-04-07 Thread Peter Neubauer
All,
also, Patrick O'Leary has contributed an initial Solr indexing
approach that is still at
https://svn.neo4j.org/laboratory/components/solr/ . You could check it
out and update it and report back on what you think!

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, Apr 7, 2011 at 7:09 PM, Cedric Hurst ced...@spantree.net wrote:
 I've had moderate success tying Solr into Neo4J using an custom
 UpdateRequestProcessor:

 http://wiki.apache.org/solr/UpdateRequestProcessor

 With this, I'm able to intercept incoming documents and update a graph
 to keep everything in sync.  In my case, Solr is my primary system of
 record and I'm pushing updates to the graph asychronously (without
 touching the Solr document at all).

 Augmenting your query logic to support graph lookup is a different
 matter, though, and would likely involve doing some customization at
 the Lucene level.  Another possibility is to define a custom function
 of value source which hooks into Neo4J somehow:

 http://lucene.apache.org/solr/api/org/apache/solr/search/function/package-summary.html

 But it all depends on your use case.

 On Thu, Apr 7, 2011 at 11:32 AM, Rick Bullotta
 rick.bullo...@thingworx.com wrote:
 Does anyone have any experience using Solr with Neo4J?


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




 --
 Build Smarter Software.

 Spantree Technology Group, LLC
 email: ced...@spantree.net | phone: 773.359.3865
 http://www.spantree.net
 ___
 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