[Developers] Query Timing Out

Tim Sturge tsturge at metaweb.com
Fri Mar 23 21:27:22 UTC 2007


You might try just

"beat*"

which is a lot faster than "*beat*" and will find the beatles (but not 
"heartbeat")

Tim

Ketan Anjaria wrote:
> So you are saying there is no way around?
> Without wildcards doesn't help because if a user types in "beat"
> I want it to find beatles also.
>
> Ketan Anjaria
> 415-260-8742
> fire at kidbombay.com <mailto:fire at kidbombay.com>
> www.kidbombay.com
>
>
> On Mar 23, 2007, at 1:34 PM, John Giannandrea wrote:
>
>>
>> the wildcard is expensive because there are so many artists.
>> just use   "name~=":"beat" if that works for your app.
>>
>> -jg
>>
>> On Mar 23, 2007, at 1:22 PM, Ketan Anjaria wrote:
>>
>>> I am trying run this query but it times out. Is there another way to 
>>> structure this query so I can get the same data?
>>>
>>> {
>>>   "query":[{
>>>     "album":[{
>>>       "/common/topic/image":[{
>>>         "guid":null,
>>>         "limit":1,
>>>         "optional":true
>>>       }],
>>>       "id":null,
>>>       "name":null,
>>>       "optional":true,
>>>       "release_date":{
>>>         "value":null
>>>       },
>>>       "release_type":{
>>>         "name":null,
>>>         "optional":true
>>>       },
>>>       "sort":"release_date.value"
>>>     }],
>>>     "guid":null,
>>>     "name~=":"*beat*",
>>>     "name":null,
>>>     "sort":"name",
>>>     "type":"/music/artist"
>>>   }]
>>> }
>>>
>>>
>>> Ketan Anjaria
>>> 415-260-8742
>>> fire at kidbombay.com <mailto:fire at kidbombay.com>
>>> www.kidbombay.com
>>>
>>>
>>> _______________________________________________
>>> Developers mailing list
>>> Developers at freebase.com <mailto:Developers at freebase.com>
>>> http://lists.freebase.com/mailman/listinfo/developers
>>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Developers mailing list
> Developers at freebase.com
> http://lists.freebase.com/mailman/listinfo/developers
>   




More information about the Developers mailing list