Lists Home |
Date Index |
- From: "Michael Kay" <M.H.Kay@eng.icl.co.uk>
- To: <email@example.com>
- Date: Fri, 5 Jun 1998 11:57:40 +0100
>I am writing a very simple, Java based, search engine for
Does it really need a new search engine? Much more useful
would be a new filter for an existing search engine, then
you could concentrate your efforts on the XML-specific
>As an example, imagine a date stored as 19980604 in an XML
>An XSL file converts that to 06-04-1998 for presentation.
>writes that date down and later searches for it but....
The idealistic answer is that to search for a date, you
should know it's a date rather than pretending it's text.
Unfortunately XML doesn't give you that information. You
could try to get it from an external place, e.g. an extended
Searching on the presentation form of information rather
than the stored form is always tricky. You can do it by
presenting to the search engine (at indexing time) the
display version of the document rather than the original
XML, but this presupposes that everyone will use the same
style rules for display, and that the rules are not
context-sensitive (A British user would want to see the
above date as 4/6/1998). Perhaps more importantly in
practice, the display form of the document will have lost
the semantic information inherent in the XML tags, which can
potentially add greatly to the selectivity of the search.
I personally think that if the paradigm is "free text
searching" then it is only going to work well if the content
of the displayed text and the stored text are much the same.
xml-dev: A list for W3C XML Developers. To post, mailto:firstname.lastname@example.org
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/
To (un)subscribe, mailto:email@example.com the following message;
To subscribe to the digests, mailto:firstname.lastname@example.org the following message;
List coordinator, Henry Rzepa (mailto:email@example.com)