Our application must accept date information in multiple formats.  We may 
receive xs:dateTime, xs:date, xs:gYearMonth and xs:gYear and even values such 
as "Unknown".

We want to be able to create range indexes on the date fields.  Naturally a 
dateTime index throws a cast exception when there is no time component and we 
do not want to artificially modify the incoming data.  A string index would 
handle the formats correctly.  Is there a performance penalty for using a 
string index to do range searches on dates formatted as above?  What is the 
order of magnitude of the penalty if there is one.  Thanks.

Bob
                                          
_______________________________________________
General mailing list
[email protected]
http://developer.marklogic.com/mailman/listinfo/general

Reply via email to