(really more of a wrapper) which does implement Iterator.
Useful when you want to pass the HitsIterator object into Velocity as a collection
and you want to be able to do something like
#foreach($hit in $hitIterator)
##display stuff
#end
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150809 13f79535-47bb-0310-9956-ffa450edef68
It supports:
1) Paging
2) Iterating through the search results a HitsIterator
3) Sorting by a field
This can easily be used with a JSP page.
This passes the inital Testcase, but sorting has not been tested in this code yet.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150773 13f79535-47bb-0310-9956-ffa450edef68