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.
Beta 2 development plans
- 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.
Phrase search result navigation
Where quoted phrases are used in queries, page navigation URLs should maintain the full query syntax.
Task progress
- Amended the
ServletQueryBuilder
class to re-instate quotes in the query URI that are extracted by thegetQueryTerms
method. - Hex-encoded phrase quotes are also maintained in the RSS channel feed URL.
- Phrase query navigation complete
Copyright MKDoc Ltd. and others.
The Free Documentation License http://www.gnu.org/copyleft/fdl.html