[Developers] autosuggest api?
Tim Sturge
tsturge at metaweb.com
Sat Jan 19 00:13:08 UTC 2008
There currently isn't any difference in behaviour between prefix= and a trailing wildcard, although this may change in the future if we identify use-cases where different behaviour would be desirable. If you want a prefix search I recommend the prefix= argument.
The /api/service/autocomplete is something we use internally to provide autocomplete results in the Freebase.com UI. As such it takes a variety of undocumented parameters which change its behaviour for specific UI needs. We also try out various bleeding edge things so the interface is much less stable than /api/service/search.
Tim
----- Original Message ----
From: "Augusto Callejas" <acallejas at appliedminds.com>
To: developers at freebase.com
Sent: Friday, January 18, 2008 1:32:31 PM (GMT-0800) America/Los_Angeles
Subject: Re: [Developers] autosuggest api?
hi-
does a query with a prefixed "*":
/api/service/search?query=Tom*
differ from a prefix search:
/api/service/search?prefix=Tom
also, how does a prefix search differ from the autocomplete service:
/api/service/autocomplete
thanks,
augusto.
On 1/15/08 1:12 PM, "Jason Douglas" <jason at metaweb.com> wrote:
> It uses the search web service, which I don't believe documentation
> has been posted on yet. However, there is a jQuery plugin that gives
> you the whole UI as well:
> http://code.google.com/p/freebase-suggest/
>
> If you do want to use the webservice directly, there is a little
> documentation on the service itself in the comments (ac_path &
> ac_param):
> http://freebase-suggest.googlecode.com/svn/trunk/src/suggest.js
>
> -jason
>
>
> On Jan 15, 2008, at 12:59 PM, Augusto Callejas wrote:
>
>> hi-
>>
>> does the autosuggest field in the upper right:
>>
>> http://www.freebase.com/signin/
>>
>> use the mqlread service api directly?
>> if not, what read service api does it use?
>> any documenation on this?
>>
>> thanks,
>> augusto.
>>
>>
>> _______________________________________________
>> Developers mailing list
>> 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
_______________________________________________
Developers mailing list
Developers at freebase.com
http://lists.freebase.com/mailman/listinfo/developers
More information about the Developers
mailing list