[Developers] query timeout during top-level link query
augusto callejas
acallejas at appliedminds.com
Wed Apr 15 21:34:00 UTC 2009
hi-
i'm trying to get all the value property changes since a certain
time across a set of types. while issuing subsequent queries
with a cursor, i run into a query that just times out.
is there a way i could make this query return without timing out,
either by specifying a smaller limit than the default, or by approaching
my query in a different way altogether?
thanks,
augusto.
===
{
"query0" : {
"cursor" :
"eNqNk-1qWzEMhm8noSdUn5ZsRtl9hPxIkxXCsqQk3djl73WOw776owcsHqwjyZZe775frudL8_rCbX1uXAvRZn0CaFBkpc32tG8PnIWZQ3g1O0KjaVtsj8f2jmu5QEqs1fFw-np9O78f_7Z6Wrwcfn7Zt8qNaWKZhLAyJi1YUSatZTLyicMDphhMcDcJk91RpZs6cVKBYYUR6gYRqYhI424QkY6ILNJNj4gekYio3H_xEK8xFSUurg5IN0U9QGEvOiDoDjEgbUC9_1xzhkI-ANcbUAfU4QoamYPn8IpzTMXJECRTKpEq5Q2cFDsmbIQbpSNbQdEBYydQdAYUHVAHSBmgOsDoDjHAbUDhO4zMaSMPmtXBQhSuTK7u0kHSTCbIyDBunyoqerh28BS9Q-YANPwGWoZLQ2Yw9QFmM_g93HsJnEFEMGAW9KciHgpjZXKMWiSgF_zPqGAlDaNWtMgkMX6VfjrchY01VNC4mbQLwdgQhOpsuC9uW7rY2LTclIQJsJLOJNzlmQrNmcVyuVz8r_l2hNIP122jWf0lDHufVv2VYPg4s__2SH9XPw6v_3jcktvloeKFbHNHRkQ4zUvSX99u9cQleDknQJvwyR-pP5Sgh4nUOQlmLIQGIwluGS76oSSzHsXRkPW3fePNcv16OTfaPCIP3hZ08vi5yxmpt8_bXY3nvQSEl8V-AUGJ_kM=",
"query" : [ {
"type" : "/type/link",
"sort" : "timestamp",
"timestamp>" : "2009-03-09T10:48:51.004Z",
"valid" : null,
"timestamp" : null,
"target_value" : {
"value" : null
},
"source" : {
"type|=" : [ "/location/location", "/religion/religion", "/
business/company" ],
"guid" : null
},
"master_property" : {
"schema|=" : [ "/location/location", "/religion/religion", "/
business/company", "/type/object" ],
"id" : null
},
"operation" : null
} ]
}
}
----
{
"code": "/api/status/ok",
"query0": {
"code": "/api/status/error",
"messages": [
{
"code": "/api/status/error/mql/timeout",
"info": {
"detail": [
"timed out"
],
"host": "graph06.p01.sjc1.metaweb.com",
"port": 8100,
"timeout": 8.0
},
"message": "Query timeout"
}
]
},
"status": "200 OK",
"transaction_id": "cache;cache03.p01.sjc1:8101;2009-04-15T21:28:24Z;
0014"
}
===
More information about the Developers
mailing list