500 Internal Server Error

XDMP-LEXVAL: xs:date("4/19/2019") -- Invalid lexical value "4/19/2019"
in /MarkLogic/appservices/search/search-impl.xqy, at 2666:37, in impl:apply-search(map:map(<map:map xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" .../>), (), fn:false()) [1.0-ml]
$querydef = map:map(<map:map xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" .../>)
$wrapper = ()
$to-string = fn:false()
$opts = <options xmlns:search="http://marklogic.com/appservices/search" xmlns="http://marklogic.com/appservices/search">...</options>
$search-opt = "score-logtfidf"
$quality-weight = xs:double("1")
$combined-query = cts:and-query((cts:element-attribute-range-query(fn:QName("http://mediasourceinc.com/rc","publication"), fn:QName("","issue-date"), "=", xs:date("1988-07-01"), (), 1), cts:element-range-query(fn:QName("http://mediasourceinc.com/rc","publication"), "=", "Library Journal", ("collation=http://marklogic.com/collation/"), 1), cts:element-range-query(fn:QName("http://mediasourceinc.com/rc","starred"), "=", "No", ("collation=http://marklogic.com/collation/"), 1), ...), ())
$forests = ()
$start = xs:unsignedLong("1")
$end = xs:unsignedLong("10")
$orderby = cts:index-order(cts:element-attribute-reference(fn:QName("http://mediasourceinc.com/rc","publication"),fn:QName("","issue-date"),("type=date")), "descending")
$search-options = ("score-logtfidf", cts:index-order(cts:element-attribute-reference(fn:QName("http://mediasourceinc.com/rc","publication"),fn:QName("","issue-date"),("type=date")), "descending"))
$has-se = fn:false()
in /MarkLogic/appservices/search/search-impl.xqy, at 2595:4, in impl:apply-search(map:map(<map:map xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" .../>)) [1.0-ml]
$querydef = "(IssueDate:&quot;1988-07-01&quot; AND publication:&quot;Library ..."
in /MarkLogic/appservices/search/search-impl.xqy, at 1912:13, in impl:do-query("(IssueDate:&quot;1988-07-01&quot; AND publication:&quot;Library ...", <options xmlns="http://marklogic.com/appservices/search"><return-results>...</return-results>...</options>, (), xs:unsignedLong("1"), (), fn:false(), ()) [1.0-ml]
$qtext = "(IssueDate:&quot;1988-07-01&quot; AND publication:&quot;Library ..."
$deltaoptions = <options xmlns="http://marklogic.com/appservices/search"><return-results>...</return-results>...</options>
$query = ()
$start = xs:unsignedLong("1")
$page-length = ()
$raw-results = fn:false()
$default-func = ()
$querydef = map:map(<map:map xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" .../>)
$return-results = fn:true()
$retrieve-results = fn:true()
in /MarkLogic/appservices/search/search-impl.xqy, at 1891:4, in impl:do-query("(IssueDate:&quot;1988-07-01&quot; AND publication:&quot;Library ...", <options xmlns="http://marklogic.com/appservices/search"><return-results>...</return-results>...</options>, (), xs:unsignedLong("1"), (), fn:false()) [1.0-ml]
$qtext = "(IssueDate:&quot;1988-07-01&quot; AND publication:&quot;Library ..."
$deltaoptions = <options xmlns="http://marklogic.com/appservices/search"><return-results>...</return-results>...</options>
$query = xs:unsignedLong("1")
in /MarkLogic/appservices/search/search.xqy, at 56:4, in search:search("(IssueDate:&quot;1988-07-01&quot; AND publication:&quot;Library ...", <options xmlns="http://marklogic.com/appservices/search"><return-results>...</return-results>...</options>, xs:unsignedLong("1")) [1.0-ml]
$qtext = "(IssueDate:&quot;1988-07-01&quot; AND publication:&quot;Library ..."
$options = <options xmlns="http://marklogic.com/appservices/search"><return-results>...</return-results>...</options>
$start = xs:unsignedLong("1")
in /search.xqy, at 131:16 [1.0-ml]