[Developers] query timeout

John Giannandrea jg at metaweb.com
Fri Aug 22 00:54:49 UTC 2008


Augusto Callejas wrote:
> i consistently get a query timeout on this query:

I read your query as 'give me all the values that changed since time T  
for any instance of this bag o types'.

If thats what you intended, this is much faster...

[
   {
     "master_property" : null,
     "operation" : null,
     "sort" : "timestamp",
     "source" : {
       "guid" : null,
       "type" : [],
       "type|=" : [
         "/organization/organization",
         "/organization/organization_membership",
         "/tv/tv_actor",
         "/tv/regular_tv_appearance",
         "/tv/tv_program",
         "/people/person",
         "/film/actor",
         "/film/performance",
         "/film/film",
         "/music/album",
         "/music/artist",
         "/music/musical_group",
         "/dining/restaurant",
         "/people/marriage",
         "/location/location",
         "/religion/religion",
         "/business/company"
       ]
     },
     "target_value" : null,
     "timestamp" : null,
     "timestamp>=" : "2008-08-20T02:29:19.739Z",
     "type" : "/type/link",
     "valid" : null
   }
]



More information about the Developers mailing list