[Neo4j] pagination with traversal and search query results

2011-08-24 Thread sambodhi sagi
Hi!! Does Spring/Neo4j provides api to get paginated results from traversal and search queries? Many Thanks, Sambodhi ___ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user

Re: [Neo4j] pagination with traversal and search query results

2011-08-24 Thread Peter Neubauer
Well, there is no built-in paging in the core API, but you can do similar things (not caching, but actually requesting different parts of the result set) by using Gremlin/Groovy functions to pick out parts of the results, or Cypher skip/limit functionality, see

Re: [Neo4j] pagination with traversal and search query results

2011-08-24 Thread Jim Webber
There is a PagingIterator however in the API which allows you to page results by wrapping the IteratorT that gets returned from many API calls. See: http://components.neo4j.org/neo4j/1.4.1/apidocs/org/neo4j/helpers/collection/PagingIterator.html Jim