There's an addition in LuceneIndexService which can sort the returned results. Take a look at http://wiki.neo4j.org/content/Indexing_with_IndexService#Sorting for more information about that.
For range queries, take a look at LuceneFulltextQueryIndexService (http://wiki.neo4j.org/content/Indexing_with_IndexService#Fulltext_indexing_with_lucene_query_syntax). I'll verify that sorting can be done there too. 2010/1/4 Raul Raja Martinez <[email protected]>: > Hi, > > Anybody has any experience returning indexed nodes ordered by a given > property?. > For example return all nodes ordered by creationDate. I understand that if > the node property is not indexed I'd have to iterate over all nodes first > then order then limit the results which seems overkill to me. > I'd like to be able to do... "get me all nodes from start to limit ordered > by property". > This is necessary when the data is iterated over using pagination and the > order determines what the next start node is next. > _______________________________________________ > Neo mailing list > [email protected] > https://lists.neo4j.org/mailman/listinfo/user > -- Mattias Persson, [[email protected]] Neo Technology, www.neotechnology.com _______________________________________________ Neo mailing list [email protected] https://lists.neo4j.org/mailman/listinfo/user

