Btw,
the pages traverser is convered here:
http://docs.neo4j.org/chunked/snapshot/rest-api-traverse.html#rest-api-creating-a-paged-traverser

Would love to see support throughout the whole REST API for it.

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 Sun, Jul 24, 2011 at 3:20 PM, Peter Neubauer
<[email protected]> wrote:
> Hi Pieter,
> Jim recently added support for paging in the Neo4j server for traversals,
>
> For Cypher, there is SKIP and LIMIT, together acting as a kind of
> paging system, but executing the query again (just giving you a
> different chunk of the result), so I am not sure that works for your
> case. http://docs.neo4j.org/chunked/snapshot/cypher-query-lang.html.
> Gremlin supports similar things.
>
> Also, given that you have millions of relationships on one node, could
> you think of some way of doing some in-graph or other indexing on
> these structures? Can you break up the relationships along one or two
> properties like time or a scalar range? Otherwise, that query seems to
> be quite expensive. Do you need all results?
>
> 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 Sat, Jul 16, 2011 at 6:31 PM, Pieter Martin <[email protected]> 
> wrote:
>> Hi,
>>
>> I am trying out tinkerpop / neo4j and wondering if there is any support
>> for paging.
>>
>> We frequently have the requirement to traverse a one to many
>> relationship with millions of nodes on the many side. Previously using
>> JPA we would execute a sql query using the LIMIT keyword to return a
>> paged result set.
>>
>> Can a similar result be achieved using neo4j. So far all I have been
>> able to find on paging is in the rest api. However I am running neo4j in
>> the embedded mode.
>>
>> Thanks
>> Pieter
>> _______________________________________________
>> Neo4j mailing list
>> [email protected]
>> https://lists.neo4j.org/mailman/listinfo/user
>>
>
_______________________________________________
Neo4j mailing list
[email protected]
https://lists.neo4j.org/mailman/listinfo/user

Reply via email to