[Developers] Search API bug?

Tim Sturge tsturge at metaweb.com
Wed Oct 24 21:40:45 UTC 2007


That's a bug; I'll make sure we resolve it soon. Thanks for the report 
Ketan.

Tim

Ketan Anjaria wrote:
> I am making the following query
> Search "Danny *" (note the space)
>
> http://www.freebase.com/api/service/search?query=Danny%20%2A&type=%2Fcommon%2Ftopic&limit=10 
> <http://www.freebase.com/api/service/search?query=Danny%20%2A&type=%2Fcommon%2Ftopic&limit=10>"
>
> and I get the following result
>
> {
>   "status": "400 Bad request",
>   "code": "/api/status/error",
>   "messages": [
>     {
>       "info": {
>         "field": "query",
>         "value": "Danny Hi*"
>       },
>       "message": "wildcard query terms must have at least three 
> characters",
>       "code": "/api/status/error/input/invalid"
>     }
>   ]
> }
> What gives?
> This doesn't happen for "Danny Hil*" but it does happen for "Danny Hi*"
>
>
> 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