[MarkLogic Dev General] XDMP-RANGEINDEX

Kapoor, Pragya PKapoor1 at innodata.com
Thu Jan 28 01:25:28 PST 2016


But I am not using any range index for date.


Thanks

Pragya


________________________________
From: general-bounces at developer.marklogic.com <general-bounces at developer.marklogic.com> on behalf of Andreas Hubmer <andreas.hubmer at ebcont.com>
Sent: Thursday, January 28, 2016 2:21 PM
To: MarkLogic Developer Discussion
Subject: Re: [MarkLogic Dev General] XDMP-RANGEINDEX

Hi Pragya,

MarkLogic expects a date to be in the xs:date format.
Here is an example: 2011-06-08
Another example with timezone: 2011-06-08+05:00

You can find further information on xs:date and xs:dateTime at http://www.w3schools.com/xml/schema_dtypes_date.asp
XML Schema Date/Time Datatypes - W3Schools<http://www.w3schools.com/xml/schema_dtypes_date.asp>
www.w3schools.com
Date and time data types are used for values that contain date and time.



Cheers,
Andreas

2016-01-28 6:35 GMT+01:00 Kapoor, Pragya <PKapoor1 at innodata.com<mailto:PKapoor1 at innodata.com>>:
Hi,

I have deleted the element range index from the database and re indexed the database, but still I am getting the below error without any line no:

XDMP-RANGEINDEX: Range index error: date fn:doc("/misc/DocList.xml")/DocumentList/Document[1]/Date: XDMP-LEXVAL: Invalid lexical value "2011&#160;Jun&#160;08"
[1.0-ml]
Moreover, the Date element in "/misc/DocList.xml) is like:
<Date Year="2011" Month="06" Day="08">
2011 Jun 08
</Date>

Please help.

Thanks
Pragya
"This e-mail and any attachments transmitted with it are for the sole use of the intended recipient(s) and may contain confidential , proprietary or privileged information. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message. Any unauthorized review, use, disclosure, dissemination, forwarding, printing or copying of this e-mail or any action taken in reliance on this e-mail is strictly prohibited and may be unlawful."

_______________________________________________
General mailing list
General at developer.marklogic.com<mailto:General at developer.marklogic.com>
Manage your subscription at:
http://developer.marklogic.com/mailman/listinfo/general




--
Andreas Hubmer
Senior IT Consultant

EBCONT enterprise technologies GmbH
Millennium Tower
Handelskai 94-96
A-1200 Vienna

"This e-mail and any attachments transmitted with it are for the sole use of the intended recipient(s) and may contain confidential , proprietary or privileged information. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message. Any unauthorized review, use, disclosure, dissemination, forwarding, printing or copying of this e-mail or any action taken in reliance on this e-mail is strictly prohibited and may be unlawful."
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://developer.marklogic.com/pipermail/general/attachments/20160128/1b8a79d8/attachment.html 


More information about the General mailing list