We're using some documents with strictly typed data for the first time
(where they point to an XML schema in the database), and I'm puzzled
about something that works but I didn't think ought to using ML Server
3.1.
I'm running queries on a metadata document with entries like
<date id="doc2">1776-04-09</date>
where <date> elements are typed as xs:date in the schema.
This query works and produces desired output:
cts:search( doc("date-doc.xml")//*:date,
cts:word-query("1776-04-09")
)
I was expecting it to fail or to produce no results because of the data
type of the <date> element. Is it the case that ML Server actually does
index any data that is castable as xs:string for use by the search
functions?
(For what it's worth, the <date> element was assigned as a range element
index of type xs:date in the server settings.)
--
David Sewell, Editorial and Technical Manager
ROTUNDA, The University of Virginia Press
PO Box 400318, Charlottesville, VA 22904-4318 USA
Courier: 310 Old Ivy Way, Suite 302, Charlottesville VA 22903
Email: [EMAIL PROTECTED] Tel: +1 434 924 9973
Web: http://rotunda.upress.virginia.edu/
_______________________________________________
General mailing list
[email protected]
http://xqzone.com/mailman/listinfo/general