Iterates over a set of search results, with the top scoring result on top.
A "SearchResult" object has the following methods:
<wiki:SearchResultIterator list="<list variable name>" id="<iterator variable name>" maxItems="<integer>">
<wiki:SearchResultIterator id="searchref" start="${param.start}" maxItems="<%=maxitems%>"> <tr> <td><wiki:LinkTo><wiki:PageName/></wiki:LinkTo></td> <td><span class="gBar"><%= searchref.getScore() %></span></td> </tr> <c:if test="${param.details == 'on'}"> <% String[] contexts = searchref.getContexts(); if( (contexts != null) && (contexts.length > 0) ) { %> <tr class="odd" > <td colspan="2" > <div class="fragment"> <% for (int i = 0; i < contexts.length; i++) { %> <%= (i > 0 ) ? "<span class='fragment_ellipsis'> ... </span>" : "" %> <%= contexts[i] %> <% } %> </div> </td> </tr> <% } %> </c:if><%-- details --%> </wiki:SearchResultIterator>