diff --git a/changelog.txt b/changelog.txt
index 4528c748f..94ef7522e 100644
--- a/changelog.txt
+++ b/changelog.txt
@@ -1,6 +1,14 @@
Spring Data Graph Changelog
===========================
+Changes in version 1.0.0 (2011-04-08)
+-------------------------------------
+* updated dependency to Neo4j 1.3 final
+* restructured repository interfaces
+* overloaded methods for index operation without required index names
+* ClosableIterator returned from index query methods (close() when not loop through)
+* documentation updates
+
Changes in version 1.0.0.RC1 (2011-04-04)
----------------------------------------
diff --git a/src/docbkx/tutorial/indexing.xml b/src/docbkx/tutorial/indexing.xml
index 2c7de6579..508259a80 100644
--- a/src/docbkx/tutorial/indexing.xml
+++ b/src/docbkx/tutorial/indexing.xml
@@ -11,7 +11,7 @@
-
+ Exact Indexing for Movie id
Neo4j Shell usage
(3)
-(me) --[SUBREF_org.neo4j.cineasts.domain.Movie]-> (6)
-(me) --[SUBREF_org.neo4j.cineasts.domain.Person]-> (8)
-(me) --[SUBREF_org.neo4j.cineasts.domain.User]-> (2)
-neo4j-sh[readonly] (0)$ cd 6
-neo4j-sh[readonly] (6)$ ls
-*class =[org.neo4j.cineasts.domain.Movie]
-*count =[39]
-(me) <-[INSTANCE_OF]-- (The Matrix Revolutions,123)
-(me) <-[INSTANCE_OF]-- (The Matrix Reloaded,110)
-(me) <-[INSTANCE_OF]-- (The Matrix,93)
-...
-neo4j-sh[readonly] (6)$ cd 93
-neo4j-sh[readonly] (The Matrix,93)$ ls
-*description =[Neo is a young software engineer and part-time hacker who is singled out by some mysterious...]
+neo4j-sh[readonly] (0)$ help
+Available commands: index dbinfo ls rm alias set eval mv gsh env rmrel mkrel
+ trav help pwd paths ... man cd
+Use man for info about each command.
+
+neo4j-sh[readonly] (0)$ index --cd -g User login micha
+
+neo4j-sh[readonly] (Micha,1)$ ls
+*__type__ =[org.neo4j.cineasts.domain.User]
+*login =[micha]
+*name =[Micha]
+*roles =[ROLE_ADMIN,ROLE_USER]
+(me) --[FRIEND]-> (Olliver,2)
+(me) --[RATED]-> (The Matrix,3)
+
+neo4j-sh[readonly] (Micha,1)$ ls 2
+*__type__ =[org.neo4j.cineasts.domain.User]
+*login =[ollie]
+*name =[Olliver]
+*roles =[ROLE_USER]
+(Olliver,2) <-[FRIEND]-- (me)
+
+neo4j-sh[readonly] (Micha,1)$ cd 3
+
+neo4j-sh[readonly] (The Matrix,3)$ ls
+*__type__ =[org.neo4j.cineasts.domain.Movie]
+*description =[Neo is a young software engineer and part-time hacker who is singled ...]
*genre =[Action]
*homepage =[http://whatisthematrix.warnerbros.com/]
-*id =[603]
-*imageUrl =[http://cf1.imgobject.com/posters/606/4bc909d0017a3c57fe003606/the-matrix-mid.jpg]
-*imdbId =[tt0133093]
-*language =[en]
-*lastModified =[1299968642000]
-*releaseDate =[922831200000]
-*runtime =[136]
+...
*studio =[Warner Bros. Pictures]
*tagline =[Welcome to the Real World.]
*title =[The Matrix]
*trailer =[http://www.youtube.com/watch?v=UM5yepZ21pI]
*version =[324]
-(me) <-[ACTS_IN]-- (Marc Aden,109)
+(me) <-[ACTS_IN]-- (Marc Aden,19)
+(me) <-[ACTS_IN]-- (David Aston,18)
...
-(me) <-[ACTS_IN]-- (Keanu Reeves,96)
-(me) <-[DIRECTED]-- (Andy Wachowski,95)
-(me) <-[DIRECTED]-- (Lana Wachowski,94)
-(me) --[INSTANCE_OF]-> (6)
+(me) <-[ACTS_IN]-- (Keanu Reeves,6)
+(me) <-[DIRECTED]-- (Andy Wachowski,5)
+(me) <-[DIRECTED]-- (Lana Wachowski,4)
(me) <-[RATED]-- (Micha,1)
]]>
diff --git a/src/docbkx/tutorial/webapp.xml b/src/docbkx/tutorial/webapp.xml
index ebe38969f..0a0c07ed6 100644
--- a/src/docbkx/tutorial/webapp.xml
+++ b/src/docbkx/tutorial/webapp.xml
@@ -56,10 +56,12 @@ public class CineastRepository {
....
public void List findMovies(String query, int count) {
List movies=new ArrayList(count);
- for (Movie movie : movieRepository.findAllByQuery("title", query)) {
+ ClosableIterable searchResults = movieRepository.findAllByQuery("title", query);
+ for (Movie movie : searchResults) {
movies.add(movie);
if (count-- == 0) break;
}
+ searchResults.close();
return movies;
}
}
@@ -90,7 +92,7 @@ public String findMovies(Model model, @RequestParam("q") String query) {
-
+ Search Results JSP
Movies