[Developers] Search API bug?

Faye Li faye at metaweb.com
Thu Oct 25 18:36:54 UTC 2007


Hmm, interesting. I was able to find "yayno" on sandbox with both 
autocomplete and search. Would you please try again?

-- Faye


Ketan Anjaria wrote:
> Faye,
> I actually did all the testing on SandBox. I was expecting the results 
> on sand box.
> The search is done against that too.
>
> On Oct 25, 2007, at 11:18 AM, Faye Li wrote:
>
>> Hi Ketan,
>>
>> It looks liked you created the topic YayNo on Sandbox about 12 minutes 
>> ago, but not on production. Data on Sandbox is never duplicated to 
>> production, which is why you cannot find the topic there (we do normally 
>> refresh Sandbox data to sync with production every Tuesday though).
>>
>> As for why you got the result you did on production: Given the term 
>> "yayn*", the closest topic found on production is "Segolate" (a category 
>> of Hebrew words), because, if you look over the Wiki article for that 
>> topic, "*yayn" is given as an example in that article (meaning "wine", 
>> apparently). Autocomplete and search do more than title matches of 
>> topics in Freebase, so it found "Segolate".
>>
>> If you create "yayno" on production, your query will succeed there.
>>
>> -- Faye
>>
>>
>> Ketan Anjaria wrote:
>>> I am doing the following query
>>> RESULT = {
>>> "query" : {
>>> "query" : "yayn*",
>>> "limit" : "10",
>>> "type" : "/common/topic",
>>> "start" : "0",
>>> },
>>> "result" : [
>>> 0 : {
>>> "image" : {
>>> },
>>> "type" : [
>>> 0 : {
>>> "id" : "/common/topic",
>>> "name" : "Topic",
>>> },
>>> ],
>>> "id" : "/topic/en/segolate",
>>> "alias" : [ ],
>>> "guid" : "#9202a8c04000641f800000000059fb16",
>>> "name" : "Segolate",
>>> "article" : {
>>> "id" : "/guid/9202a8c04000641f800000000059fb1b",
>>> },
>>> },
>>> ],
>>> "status" : "200 OK",
>>> "code" : "/api/status/ok",
>>> }
>>>
>>> The term is "yayn*"
>>> Why does Segolate come back?
>>>
>>> Also if I do a search yayno no results are returned
>>> RESULT = {
>>> "result" : [ ],
>>> "status" : "200 OK",
>>> "code" : "/api/status/error",
>>> "messages" : [
>>> 0 : {
>>> "message" : "No search results found",
>>> "code" : "/api/status/error/search/empty",
>>> },
>>> ],
>>> }
>>>
>>> But this topic does exist on sandbox and shows up in the auto complete 
>>> there.
>>> Ideas?
>>>
>>> Ketan Anjaria
>>> fire at kidbombay.com <mailto:fire at kidbombay.com>
>>> www.kidbombay.com
>>> 415.260.8742
>>> f. 415.358.4278
>>>
>>> ------------------------------------------------------------------------
>>>
>>> _______________________________________________
>>> 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 <mailto:Developers at freebase.com>
>> http://lists.freebase.com/mailman/listinfo/developers
>
> Ketan Anjaria
> fire at kidbombay.com <mailto:fire at kidbombay.com>
> www.kidbombay.com
> 415.260.8742
> f. 415.358.4278
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Developers mailing list
> Developers at freebase.com
> http://lists.freebase.com/mailman/listinfo/developers
>   



More information about the Developers mailing list