[Neo] Neo4j Traverse API

Satish Varma Dandu dsvarma at gmail.com
Wed Feb 24 19:37:41 CET 2010

Hi John,

 Thanks for the reply.  Consider a scenario like LinkedIn:
1) I wanna search for all profiles in linkedin matching "Neo4J"
2) Now i get, lets say 20 people having Neo4J on their profiles. So far so
good. But i wanna order these search results based on my order. Like first i
wanna search results from my direct contacts followed by next order results.

The worst case scenario is, once i get these search results, for each search
result profile, i need to traverse & find the path. But this take a lot of
time if i get 2 many search results. So somehow i wanna combine both Lucene
& traverse. Is this doable with Neo4J?

Hope i explained the problem. Any help would be great.


On Wed, Feb 24, 2010 at 1:29 AM, Johan Svensson <johan at neotechnology.com>wrote:

> Hi,
> You can not make such an ordered search using the Lucene indexing
> service. You could try to only use a traverser instead of a Lucene
> search and let the traverser do the filtering.
> I am not sure I understand your problem completely. If you could
> describe the problem in more detail I am sure we can come up with a
> good solution for it.
> Regards,
> -Johan
> On Tue, Feb 23, 2010 at 11:00 PM, Satish Varma Dandu <dsvarma at gmail.com>
> wrote:
> > Hi,
> > I am new to Neo4J, and so far it looks really good for traversing nodes.
> I
> > have a question on using Traverser API. Can we order the lucene search
> > results by degree wise. When i search for some data using lucene, i will
> get
> > some nodes. Now i want to arrange those search results nodes in the order
> of
> > level.i.e first i want results from my direct nodes & then next level of
> > nodes etc.
> >
> > Is this supported out of the box? Appreciate if you could point me to
> > correct resource.
> >
> > Thanks & Regards,
> > -Satish
> _______________________________________________
> Neo mailing list
> User at lists.neo4j.org
> https://lists.neo4j.org/mailman/listinfo/user

More information about the User mailing list