[Developers] limit 0

John Giannandrea jg at metaweb.com
Sun Mar 30 19:46:07 UTC 2008


No, limit:0 now means dont return anything for that clause, as opposed  
to optional:forbidden which disallows a match in that clause.

To get a lot of answers, use limit:1000 or whatever your script can  
reasonably handle without cursors.

-jg


On Mar 29, 2008, at 7:01 PM, Jack Alves wrote:

> Does a 0 limit still mean no limit? I have a query that returns
> results if the limit is not 0.
>
> {
>  "query" : [
>    {
>      "/type/reflect/any_value" : [
>        {
>          "type" : "/type/datetime",
>          "value" : "1942-03-29"
>        }
>      ],
>      "id" : null,
>      "limit" : 0,
>      "name" : null,
>      "type" : []
>    }
>  ]
> }
> _______________________________________________
> Developers mailing list
> Developers at freebase.com
> http://lists.freebase.com/mailman/listinfo/developers



More information about the Developers mailing list