[Developers] problems with Freebase Suggest

Will Moffat willmoffat at metaweb.com
Thu Jun 19 17:06:57 UTC 2008


Hello,

On 19 Jun 2008, at 08:28, Martin Dudek wrote:
> I just discovered that the freebase suggest javascript utility doesn't
> work anymore, at least in some cases like this one here
> http://mqlx.com/freebase-suggest/examples/suggest_demo2.html


OK, the examples should be fixed now. http://code.google.com/p/freebase-suggest/
You can see the changes I made: http://code.google.com/p/freebase-suggest/source/detail?r=100

Basically this:
$('#example2').freebaseSuggest( {ac_param:{type: '/music/album',  
category: "instance", get_all_types: "0", disamb: "1", limit: "10",  
strict:1 };

Should be:
$('#example2').freebaseSuggest( {ac_param:{type:'/music/album'}} );

Most of the arguments have been depreciated and 'strict' no longer  
takes 1. I've removed strict as well because the default behaviour  
seems fine to me, if you want to experiment then see the search API  
docs here:
http://www.freebase.com/view/guid/9202a8c04000641f8000000006ad84c9

While fixing this, I noticed a few other minor problems in the  
examples and documentation, so thanks again for bringing it to my  
attention.
--Will



More information about the Developers mailing list