[Developers] mql_filter parameter to search API
Andi Vajda
vajda at metaweb.com
Fri Mar 13 17:48:12 UTC 2009
On Fri, 13 Mar 2009, Philip Kendall wrote:
> What I'm trying to do is to get a list of all properties within Commons
> that "match" a string in some way or another.
>
> I'm currently doing this via the search API[1] and then post-filtering
> the results to remove any which have ids starting with /user/, /base/ or
> /guid/. This obviously isn't ideal as it means I throw away a large
> number of results, and may not find the results I'm looking for if
> they're further down the list, but just hidden by lots of user-created
> properties.
>
> There's an "mql_filter" parameter documented from the search API, but I
> can't get it to do anything useful (other than blow up, which I've filed
> a bug for[2]).
>
> Two (or maybe three) questions:
>
> 1) Is there any documentation for mql_filter available anywhere?
Yes, the current documentation for search is available from:
http://www.freebase.com/api/service/search?help
In particular:
http://www.freebase.com/api/service/search?help#joining
> 2) Is mql_filter the right way to be doing this? If not, what is?
Yes
Andi..
More information about the Developers
mailing list