[MKSearch-dev] Week 40 round up

Phil Shaw phil at mkdoc.com
Tue Jul 19 14:19:58 BST 2005


This is for last week. I was doing further work to abstract the store 
management aspects from the application classes so they don't need to 
know about the details of initialising a Sesame repository, etc. This 
also separates JSpider PropertySet configuration types from the rest 
of the system. This is practically complete now, so I should be able 
to make some progress on displaying results.

Best regards,

Phil


Tuesday 12
~~~~~~~~~~
Created a set of draft ApplicationContext, QueryResult and 
StoreQueryManager interfaces with concrete PluginApplicationContext 
and ServletApplicationContext types. PluginApplicationContext adapts 
a standard JSpider PropertySet, to insulate other MKSearch packages 
from JSpider dependencies. ServletApplicationContext adapts a 
standard ServletContext. Modified all store classes to take an 
ApplicationContext rather than a PropertySet and updated all plugin   
types as necessary to use the new scheme.

Thursday 14
~~~~~~~~~~~
Extended AbstractMKDocPlugin tests to cover the new 
getApplicationContext method. Added a source.version property to the 
Ant build file and properties file for more convenient switching 
between Java versions. Tidied up unused imports for the JSpider 
PropertySet class; now only com.mkdoc.jspider package classes have 
this dependency.  

Created a new set of ResultRenderer types for the MKSearch 
QueryResult interface. Also created a StoreQueryResult, which is a 
thin wrapper on a Sesame QueryResultsTable, and NullQueryResult. 

Introduced a new AbstractLocalRepositoryManager, which is a 
superclass to LocalRepositorySubjectManager, and a new 
LocalRepositoryQueryManager class. Created a newStoreQueryManager 
method for the StoreManagerFactory and modified the HttpQuery servlet 
to work with the new type. This required changes to 
AbstractRepositoryManager, to load an existing repository rather than 
create a new one.

Modified various unit test suites as necessary and created a first 
draft MockServletContext for testing. All standard unit tests pass, 
need some extensions to the coverage tests. Checked in the latest 
JavaDoc pages with these updates.

--
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