hi guys , i want to implement a small search engine , i have index page where user enter search keyword then he redirected to search results page so how to display the search results since they are dynamically generated i am using lucene and i have this page implemented in jsp (i want to redesign it in jsf) :
<p style=" color: green"> <%=Srchr.HitsCount() %> Searching result(s) for : <%= SearchText %>
<p>------------------------------------------------------------------
<% for (int i = 0 ; i<Srchr.HitsCount() ; i++){ %>
<p> <%= (i+1) %> : <a href= <%= Srchr.getHits()[i] %> > <%= Srchr.getHits()[i] %> </a>
where srchr is the searcher class that access lucene db.
please help me .
thanks