500 Internal Server Error

XDMP-OPTION: cts:word-query("", ("case-insensitive", "diacritic-insensitive", "punctuation-insensitive", ...), ()) -- Invalid option "case-insensitive"
in /MarkLogic/appservices/search/ast.xqy, at 1069:24, in ast:handle-term(<search:term-query xmlns:search="http://marklogic.com/appservices/search">...</search:term-query>, <options xmlns="http://marklogic.com/appservices/search" xmlns:search="http://marklogic.com/appservices/search">...</options>, map:map(<map:map xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" .../>)) [1.0-ml]
$query-elem = <search:term-query xmlns:search="http://marklogic.com/appservices/search">...</search:term-query>
$options = <options xmlns="http://marklogic.com/appservices/search" xmlns:search="http://marklogic.com/appservices/search">...</options>
$state = map:map(<map:map xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" .../>)
$global-scope = ()
$term-scope = ()
$constraint-ref = ()
$default = ()
in /MarkLogic/appservices/search/ast.xqy, at 693:15, in ast:dispatch(<search:term-query xmlns:search="http://marklogic.com/appservices/search">...</search:term-query>, <options xmlns="http://marklogic.com/appservices/search" xmlns:search="http://marklogic.com/appservices/search">...</options>, map:map(<map:map xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" .../>)) [1.0-ml]
$query-elem = <search:term-query xmlns:search="http://marklogic.com/appservices/search">...</search:term-query>
$options = <options xmlns="http://marklogic.com/appservices/search" xmlns:search="http://marklogic.com/appservices/search">...</options>
$state = map:map(<map:map xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" .../>)
in /MarkLogic/appservices/search/ast.xqy, at 816:15, in ast:handle-and(<search:and-query xmlns:search="http://marklogic.com/appservices/search">...</search:and-query>, <options xmlns="http://marklogic.com/appservices/search" xmlns:search="http://marklogic.com/appservices/search">...</options>, map:map(<map:map xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" .../>)) [1.0-ml]
$query-elem = <search:and-query xmlns:search="http://marklogic.com/appservices/search">...</search:and-query>
$options = <options xmlns="http://marklogic.com/appservices/search" xmlns:search="http://marklogic.com/appservices/search">...</options>
$state = map:map(<map:map xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" .../>)
$q = <search:term-query xmlns:search="http://marklogic.com/appservices/search">...</search:term-query>
in /MarkLogic/appservices/search/ast.xqy, at 695:15, in ast:dispatch(<search:and-query xmlns:search="http://marklogic.com/appservices/search">...</search:and-query>, <options xmlns="http://marklogic.com/appservices/search" xmlns:search="http://marklogic.com/appservices/search">...</options>, map:map(<map:map xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" .../>)) [1.0-ml]
$query-elem = <search:and-query xmlns:search="http://marklogic.com/appservices/search">...</search:and-query>
$options = <options xmlns="http://marklogic.com/appservices/search" xmlns:search="http://marklogic.com/appservices/search">...</options>
$state = map:map(<map:map xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" .../>)
in /MarkLogic/appservices/search/ast.xqy, at 816:15, in ast:handle-and(<search:and-query xmlns:search="http://marklogic.com/appservices/search">...</search:and-query>, <options xmlns="http://marklogic.com/appservices/search" xmlns:search="http://marklogic.com/appservices/search">...</options>, map:map(<map:map xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" .../>)) [1.0-ml]
$query-elem = <search:and-query xmlns:search="http://marklogic.com/appservices/search">...</search:and-query>
$options = <options xmlns="http://marklogic.com/appservices/search" xmlns:search="http://marklogic.com/appservices/search">...</options>
$state = map:map(<map:map xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" .../>)
$q = <search:and-query xmlns:search="http://marklogic.com/appservices/search">...</search:and-query>
in /MarkLogic/appservices/search/ast.xqy, at 695:15, in ast:dispatch(<search:and-query xmlns:search="http://marklogic.com/appservices/search">...</search:and-query>, <options xmlns="http://marklogic.com/appservices/search" xmlns:search="http://marklogic.com/appservices/search">...</options>, map:map(<map:map xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" .../>)) [1.0-ml]
$query-elem = <search:and-query xmlns:search="http://marklogic.com/appservices/search">...</search:and-query>
$options = <options xmlns="http://marklogic.com/appservices/search" xmlns:search="http://marklogic.com/appservices/search">...</options>
$state = map:map(<map:map xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" .../>)
in /MarkLogic/appservices/search/ast.xqy, at 816:15, in ast:handle-and(<search:and-query xmlns:search="http://marklogic.com/appservices/search">...</search:and-query>, <options xmlns="http://marklogic.com/appservices/search" xmlns:search="http://marklogic.com/appservices/search">...</options>, map:map(<map:map xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" .../>)) [1.0-ml]
$query-elem = <search:and-query xmlns:search="http://marklogic.com/appservices/search">...</search:and-query>
$options = <options xmlns="http://marklogic.com/appservices/search" xmlns:search="http://marklogic.com/appservices/search">...</options>
$state = map:map(<map:map xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" .../>)
$q = <search:and-query xmlns:search="http://marklogic.com/appservices/search">...</search:and-query>
in /MarkLogic/appservices/search/ast.xqy, at 695:15, in ast:dispatch(<search:and-query xmlns:search="http://marklogic.com/appservices/search">...</search:and-query>, <options xmlns="http://marklogic.com/appservices/search" xmlns:search="http://marklogic.com/appservices/search">...</options>, map:map(<map:map xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" .../>)) [1.0-ml]
$query-elem = <search:and-query xmlns:search="http://marklogic.com/appservices/search">...</search:and-query>
$options = <options xmlns="http://marklogic.com/appservices/search" xmlns:search="http://marklogic.com/appservices/search">...</options>
$state = map:map(<map:map xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" .../>)
in /MarkLogic/appservices/search/ast.xqy, at 816:15, in ast:handle-and(<search:and-query xmlns:search="http://marklogic.com/appservices/search">...</search:and-query>, <options xmlns="http://marklogic.com/appservices/search" xmlns:search="http://marklogic.com/appservices/search">...</options>, map:map(<map:map xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" .../>)) [1.0-ml]
$query-elem = <search:and-query xmlns:search="http://marklogic.com/appservices/search">...</search:and-query>
$options = <options xmlns="http://marklogic.com/appservices/search" xmlns:search="http://marklogic.com/appservices/search">...</options>
$state = map:map(<map:map xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" .../>)
$q = <search:and-query xmlns:search="http://marklogic.com/appservices/search">...</search:and-query>
in /MarkLogic/appservices/search/ast.xqy, at 695:15, in ast:dispatch(<search:and-query xmlns:search="http://marklogic.com/appservices/search">...</search:and-query>, <options xmlns="http://marklogic.com/appservices/search" xmlns:search="http://marklogic.com/appservices/search">...</options>, map:map(<map:map xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" .../>)) [1.0-ml]
$query-elem = <search:and-query xmlns:search="http://marklogic.com/appservices/search">...</search:and-query>
$options = <options xmlns="http://marklogic.com/appservices/search" xmlns:search="http://marklogic.com/appservices/search">...</options>
$state = map:map(<map:map xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" .../>)
in /MarkLogic/appservices/search/ast.xqy, at 797:15, in ast:handle-query(<search:query xmlns:search="http://marklogic.com/appservices/search">...</search:query>, <options xmlns="http://marklogic.com/appservices/search" xmlns:search="http://marklogic.com/appservices/search">...</options>, map:map(<map:map xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" .../>)) [1.0-ml]
$query-elem = <search:query xmlns:search="http://marklogic.com/appservices/search">...</search:query>
$options = <options xmlns="http://marklogic.com/appservices/search" xmlns:search="http://marklogic.com/appservices/search">...</options>
$state = map:map(<map:map xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" .../>)
$q = <search:and-query xmlns:search="http://marklogic.com/appservices/search">...</search:and-query>
in /MarkLogic/appservices/search/ast.xqy, at 691:15, in ast:dispatch(<search:query xmlns:search="http://marklogic.com/appservices/search">...</search:query>, <options xmlns="http://marklogic.com/appservices/search" xmlns:search="http://marklogic.com/appservices/search">...</options>, map:map(<map:map xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" .../>)) [1.0-ml]
$query-elem = <search:query xmlns:search="http://marklogic.com/appservices/search">...</search:query>
$options = <options xmlns="http://marklogic.com/appservices/search" xmlns:search="http://marklogic.com/appservices/search">...</options>
$state = map:map(<map:map xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" .../>)
in /MarkLogic/appservices/search/ast.xqy, at 677:22, in ast:to-query(<search:query xmlns:search="http://marklogic.com/appservices/search">...</search:query>, <options xmlns="http://marklogic.com/appservices/search" xmlns:search="http://marklogic.com/appservices/search">...</options>) [1.0-ml]
$query = <search:query xmlns:search="http://marklogic.com/appservices/search">...</search:query>
$options = <options xmlns="http://marklogic.com/appservices/search" xmlns:search="http://marklogic.com/appservices/search">...</options>
$query-map = map:map(<map:map xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" .../>)
$qtext = ()
$path-namespaces = ()
in /MarkLogic/appservices/search/search-impl.xqy, at 2025:12, in impl:prepare-querydef("(IssueDate:&quot;2011-08-18) AND publication:&quot;School Librar...", <options xmlns="http://marklogic.com/appservices/search"><return-results>...</return-results>...</options>, (), xs:unsignedLong("1"), (), fn:false(), ()) [1.0-ml]
$qtext = "(IssueDate:&quot;2011-08-18) AND publication:&quot;School Librar..."
$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 = ()
$t-minus-0 = xs:dayTimeDuration("PT0.0015141S")
$init-options = <options xmlns="http://marklogic.com/appservices/search" xmlns:search="http://marklogic.com/appservices/search">...</options>
$nsmap = map:map(<map:map xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" .../>)
$path-bindings = ()
$nsbindings = ("_1", "http://mediasourceinc.com/rc")
in /MarkLogic/appservices/search/search-impl.xqy, at 1903:21, in impl:do-query("(IssueDate:&quot;2011-08-18) AND publication:&quot;School Librar...", <options xmlns="http://marklogic.com/appservices/search"><return-results>...</return-results>...</options>, (), xs:unsignedLong("1"), (), fn:false(), ()) [1.0-ml]
$qtext = "(IssueDate:&quot;2011-08-18) AND publication:&quot;School Librar..."
$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 = ()
in /MarkLogic/appservices/search/search-impl.xqy, at 1891:4, in impl:do-query("(IssueDate:&quot;2011-08-18) AND publication:&quot;School Librar...", <options xmlns="http://marklogic.com/appservices/search"><return-results>...</return-results>...</options>, (), 1, (), fn:false()) [1.0-ml]
$qtext = "(IssueDate:&quot;2011-08-18) AND publication:&quot;School Librar..."
$deltaoptions = <options xmlns="http://marklogic.com/appservices/search"><return-results>...</return-results>...</options>
in /MarkLogic/appservices/search/search.xqy, at 50:4, in search:search("(IssueDate:&quot;2011-08-18) AND publication:&quot;School Librar...", <options xmlns="http://marklogic.com/appservices/search"><return-results>...</return-results>...</options>) [1.0-ml]
$qtext = "(IssueDate:&quot;2011-08-18) AND publication:&quot;School Librar..."
$options = <options xmlns="http://marklogic.com/appservices/search"><return-results>...</return-results>...</options>
in /search.xqy, at 117:22 [1.0-ml]