[Developers] Query Timing Out
Ketan Anjaria
fire at kidbombay.com
Fri Mar 23 21:29:22 UTC 2007
Ok this query seems do what I need
{
"query":[{
"album":[{
"limit":1,
"release_date":{
"value":null
}
}],
"guid":null,
"limit":1000,
"name~=":"beat*",
"name":null,
"sort":"name",
"type":"/music/artist"
}]
}
Ketan Anjaria
415-260-8742
fire at kidbombay.com
www.kidbombay.com
On Mar 23, 2007, at 2:27 PM, Tim Sturge wrote:
> 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
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freebase.com/pipermail/developers/attachments/20070323/5d174a6f/attachment-0002.htm
More information about the Developers
mailing list