[MKSearch-dev] Week 43 round up

Phil Shaw phil at mkdoc.com
Sat Aug 6 10:02:52 BST 2005


I'm starting to bring things together towards a beta 1 release. The 
system's working end to end as intended, but there are a range of 
further details to test, some issues to investigate and then to 
package the whole thing up.

I've posted some screen shots of the result pages below, watch for 
line wrapping.

Best regards,

Phil


Screen shots
~~~~~~~~~~~~

Simple 4 item result page for subject query "JSpider"

https://svn.mkdoc.com/mksearch/doc/design/screenshots/DraftQueryResult
JSpider.png

A "not found" result page

https://svn.mkdoc.com/mksearch/doc/design/screenshots/DraftQueryResult
NotFound.png

Publisher query result with previous/next results navigation

https://svn.mkdoc.com/mksearch/doc/design/screenshots/DraftQueryResult
PreviousNext.png


Monday
~~~~~~
Made various additions to the Query interface to implement results 
paging and isolate from output rendering variables. Added new 
getResultKey, getPageNumber, getResultsPerPage and getOutputType 
methods, with concrete implementations in SimpleQuery. Also created a 
getQueryUri(int, int) method with page number and results per page 
arguments for page navigation. Adapted ServletQueryBuilder to exclude 
the output type from the base URI and pass it with the page data to 
the SimpleQuery constructor. Required new methods getPageNumber and 
getResultsPerPage and a simplification of the getOutputType method.  


Tuesday
~~~~~~~  
Created a new QueryContext interface to track type and paging 
information, with AbstractQueryContext, TextQueryContext, 
XhtmlQueryContext and RssQueryContext implementations. Removed the 
getQueryBuilder method from the QueryFactory and removed the 
HttpServletRequest argument from the getResultRenderer method, to use 
the getOutputType method of the Query interface instead. Moved the 
getPageNumber, getResultsPerPage and getOutputType methods from Query 
up to the QueryContext interface and modified SimpleQuery to 
implement them by adapting an underlying QueryContext type. Also 
removed the hashCode and equals methods from the Query interface. 
Added getStartIndex and getEndIndex methods to 
AbstractResultRenderer. Removed the getOutputType method from 
ServletQueryBuilder in favour of a new getQueryContext method that 
returns the appropriate type. Added an appendNavigation method to 
XhtmlResultRenderer to list a series of results pages, a result 
summary line and and numbered result items.  

Thursday
~~~~~~~~
Placed the repeat query form after the results listing in 
XhtmlQueryResult.jsp. Added a default LIMIT constant to QueryContext 
and declared AbstractQueryContext implements QueryContext to use the 
reference. Updated and completed JavaDoc comments where necessary, 
and removed unused imports and variables. Simplified the XHTML result 
page navigation in a paragraph element rather than an ordered list  
with Previous and Next links.


Friday
~~~~~~ 
Updated configuration for more extensive testing. Draft query result 
screen shots and recent JavaDoc updates. Test source  
repository from live MKSearch site index, 2005-08-05.
--
MKSearch (alpha)

<URL:http://www.mksearch.mkdoc.org/>

Free, open source metadata search engine with RDF storage and query.


More information about the MKSearch-dev mailing list