Vaibhav, youi can use the new combined Evaluator to control what will be included in the result set or not. See https://github.com/neo4j/examples/blob/master/src/test/java/org/neo4j/examples/orderedpath/OrderedPathTest.java#L71 for an example. If you want to continue traversing, and include the current node in the result, use
return Evaluation.INCLUDE_AND_CONTINUE and so on. Does that help? 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://www.thoughtmade.com - Scandinavia's coolest Bring-a-Thing party. On Tue, Feb 1, 2011 at 1:26 PM, vaibhav adlakha <adlakha.vaib...@gmail.com> wrote: > Hi, > > I wish to traverse from node A to node B in the graph and find all > relationships having certain properties. If the relationship does not have > that property say propertyName != desired value, then this relationship > should be ignored and move to next relationships. > > In the end desired output is all nodes and relationships traversed between > node A and node B. Using traverser and its Stop or return evaluator, we can > ignore nodes while traversing them. Can any one please help me solve this > problem. > > > Thanks and Regards, > Vaibhav Adlakha > > "The thing that we call failure is not the falling down but the staying > down" > _______________________________________________ > 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