Re: [Neo4j] Limiting index query results - pagination

2010-08-27 Thread Mattias Persson
You can do that out of the box. If the result size is more than a certain threshold (100, I think) it gathers the results lazily instead of in the getNodes method itself. So if you do a query which has lots of hits you can keep that IndexHits instance with you to do pagination and such with. So

[Neo4j] Limiting index query results - pagination

2010-08-26 Thread Honnur Vorvoi
Thanks Mattias, that was very helpful.   I have another related question: Is there a way we can limit the number of search results from the index query? Basically am looking to implement pagination incase the search results return say thousands of records. Are there any better solutions to