You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
So we can address your issue, please include the following:
Version of MarkLogic Java Client API
develop (after 5.3.2 tag release)
Version of MarkLogic Server
10.0-6
Java version
JDK 1.8 u 261
OS and version
Windows with IntelliJ IDE
Input: Some code to illustrate the problem, preferably in a state that can be independently reproduced on our end
Having a QueryDefinition with incorrect query details (though syntax is appropriate) and running a QueryBatcher job causes the
job to hang indefinitely.
In example below we have all setups done correcly on server, as far as path namespaces, path range indices are concerned. Yet on client side, query is incorrect due to wrong namespace settings.
Actual output: What did you observe? What errors did you see? Can you attach the logs? (Java logs, MarkLogic logs)
Exception in thread "pool-3-thread-1" com.marklogic.client.FailedRequestException: Local message: failed to apply resource at internal/uris: Bad Request. Server Message: XDMP-PATHRIDXNOTFOUND: cts:register(cts:path-range-query("//nsdate:date", ">", xs:date("2007-01-01"), (), 1)) -- No date path range index for //nsdate:date
at com.marklogic.client.impl.OkHttpServices.checkStatus(OkHttpServices.java:4449)
at com.marklogic.client.impl.OkHttpServices.postResource(OkHttpServices.java:3438)
at com.marklogic.client.impl.OkHttpServices.postResource(OkHttpServices.java:3382)
at com.marklogic.client.impl.OkHttpServices.postResource(OkHttpServices.java:3373)
at com.marklogic.client.impl.OkHttpServices.processQuery(OkHttpServices.java:3130)
at com.marklogic.client.impl.OkHttpServices.uris(OkHttpServices.java:3030)
at com.marklogic.client.impl.QueryManagerImpl.uris(QueryManagerImpl.java:169)
at com.marklogic.client.datamovement.impl.QueryBatcherImpl$QueryTask.run(QueryBatcherImpl.java:759)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
at java.base/java.lang.Thread.run(Thread.java:844)
The job will not finish and hangs indefinitely.
Expected output: What specifically did you expect to happen?
Doc uris to be returned, based on query criteria.
Alternatives: What else have you tried, actual/expected?
None.
The text was updated successfully, but these errors were encountered:
In particular, the internal endpoint called during initialization of the query batcher should tell the client to throw an error if the query is invalid.
So we can address your issue, please include the following:
Version of MarkLogic Java Client API
develop (after 5.3.2 tag release)
Version of MarkLogic Server
10.0-6
Java version
JDK 1.8 u 261
OS and version
Windows with IntelliJ IDE
Input: Some code to illustrate the problem, preferably in a state that can be independently reproduced on our end
Having a QueryDefinition with incorrect query details (though syntax is appropriate) and running a QueryBatcher job causes the
job to hang indefinitely.
In example below we have all setups done correcly on server, as far as path namespaces, path range indices are concerned. Yet on client side, query is incorrect due to wrong namespace settings.
Actual output: What did you observe? What errors did you see? Can you attach the logs? (Java logs, MarkLogic logs)
The job will not finish and hangs indefinitely.
Expected output: What specifically did you expect to happen?
Doc uris to be returned, based on query criteria.
Alternatives: What else have you tried, actual/expected?
None.
The text was updated successfully, but these errors were encountered: