have you tried RelationshipIndex?
RelationshipIndex idx = db.index().forRelationship("...");
idx.add(rel, "IS_A_FAN", 1);
...
IndexHits<Relationship> hits = idx.get("IS_A_FAN", 1, null, theGuy);
...On Mon, Sep 5, 2011 at 7:16 AM, iamyuanlong <[email protected]> wrote: > hi,everybody > I use CypherParser to query one user's fans. > some code like this. > > > > But when a user have 40000 fans . when i query his fans . it cost my a > long time to get the result. > when i use the webbench -c 100 -t 60 http://... > just have 287 successed 0 failed. > Does anyone can tell me have any other ways to paging query one's fans > in Neo4j? > > > -- > View this message in context: > http://neo4j-community-discussions.438527.n3.nabble.com/Neo4j-except-CypherParser-have-any-other-methods-for-paging-query-tp3310029p3310029.html > Sent from the Neo4j Community Discussions mailing list archive at Nabble.com. > _______________________________________________ > Neo4j mailing list > [email protected] > https://lists.neo4j.org/mailman/listinfo/user > -- Best regards Linan Wang _______________________________________________ Neo4j mailing list [email protected] https://lists.neo4j.org/mailman/listinfo/user

