Query
Component description
The MKSearch query component is responsible for handling HTTP-based search queries by general users. It's implementation is currently in the form of a single HttpQuery
servlet class that forwards queries to custom JSP result pages that query and display the results with a custom ResultsRenderer
type.
Completed task information has been moved to the beta 1 query plans archive.
Outstanding issues
Extended graph queries
The query builder does not handle extended RDF graphs, where a Dublin Core qualified term is used to refine a primary search field. For example, where an indexed document has a DC.Date
property with a DCTERMS.W3CDTF
encoding scheme, simple date queries are not matched. If no W3C date node were present, the match is successful.
Task progress:
- Extensive amendments made to the
AbstractQueryBuilder
and associated classes to develop union queries. - Union queries with optional encoding schemes completed.
- Union queries with URI objects completed.
- Various enabling modifications to the
Schema
andSchemaProperty
implementations. - Completed extended graph query implementation.
Beta 2 development plans
- Echo predicate values in results
- The current result output uses minimal title, summary text and link values. The result set includes the object literal values of the query predicates and could be included in the results summary to help users refine their query.
- Results cacheing
- Standing RSS feeds and results paging will also require a result cache to optimise performance on the server side. However, the cache mechanism also needs to be integrated with the repository management interface, so that stale results are purged.
-
AND
andAND NOT
queries -
The query builder should interpret the
+
and-
symbols immediately before a word to meanAND
andAND NOT
respectively.
Copyright MKDoc Ltd. and others.
The Free Documentation License http://www.gnu.org/copyleft/fdl.html