<%@ taglib uri="/WEB-INF/jspwiki.tld" prefix="wiki" %> <%@ page import="com.ecyrd.jspwiki.*" %> <%@ page import="java.util.Collection" %> <%-- FIXME: Get rid of the scriptlets. --%> <% Collection list = (Collection)pageContext.getAttribute( "searchresults", PageContext.REQUEST_SCOPE ); String query = (String)pageContext.getAttribute( "query", PageContext.REQUEST_SCOPE ); if( query == null ) query = ""; %>

Find pages

<% if( list != null ) { %>

Search results for '<%=query%>'

Found <%=list.size()%> hits, here are the top 20.

<% if( list.size() > 0 ) { %> <% } else { %> <% } %>
Page Score
<%=searchref.getScore()%>
No results

Try this same search on Google!


<% } %>

Search.jsp" ACCEPT-CHARSET="ISO-8859-1,UTF-8"> Enter your query here:

Use '+' to require a word, '-' to forbid a word. For example:

          +java -emacs jsp
      
finds pages that MUST include the word "java", and MAY NOT include the word "emacs". Also, pages that contain the word "jsp" are ranked before the pages that don't.

All searches are case insensitive. If a page contains both forbidden and required keywords, it is not shown.