[Developers] index of null, default ordering?

Christopher Dummy christopher.dummy at gmail.com
Thu Feb 28 21:27:31 UTC 2008


Thanks for that information.

For the timestamp, is it using  "link": {"timestamp":null} ? Which
means for any property to get it sorted in the way it is displayed in
the UI, I would use the following query for the property:

      "/user/cotton/default_domain/broadcast/genre" : [ {
          "guid" : null,
          "name" : null,
          "index" : null,
          "link" : { "timestamp" : null },
          "sort" : [ "index",  "link.timestamp"  ]  }


On Thu, Feb 28, 2008 at 3:05 PM, Christopher R. Maden <crism at metaweb.com> wrote:
> Christopher Dummy wrote:
>  > If I ask for the set of properties on an item. What is the default
>  > ordering of those items?
>
>  It is effectively random.
>
>  It is actually in the order in which the items are found, which is
>  typically the order in which they were created, but that is not reliable
>  behavior.
>
>  The UI sorts by index and by timestamp by default.  Items with a null
>  index have not been explicitly ordered.
>
>  Hope this helps,
>  Chris
>  --
>  Christopher R. Maden
>  Data Architect
>  Metaweb Technologies, Inc.
>  <URL: http://www.metaweb.com/ >
>  _______________________________________________
>  Developers mailing list
>  Developers at freebase.com
>  http://lists.freebase.com/mailman/listinfo/developers
>



-- 
Christopher Cotton
Zing/Dell Engineer
http://zing.net/


More information about the Developers mailing list