What version of MarkLogic are you running? A quick test with MarkLogic 10.0-5 show a uri in the error message:
2021-01-25 09:36:01.636 Debug: IndexerEnv::putRangeIndex: XDMP-RANGEINDEX: Range index error: int fn:doc("/test/doc1.xml")/root/foo: XDMP-LEXVAL: Invalid lexical value "bar"
Without that, you will need to check which range indexes of type double
you have in place, and try if XPath can show you which documents are troublesome. Something like:
subsequence(collection()[//path/to/double = ''], 1, 10) ! xdmp:node-uri(.)
Don't grab them all this way, but grabbing first 10 should be doable. Might give you an idea where to look.
HTH!
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…