[Developers] "index" on any_reverse/any_master

Alec Flett alecf at metaweb.com
Mon Apr 2 22:44:37 UTC 2007


Unfortunately, I need the actual index that links 
...#9202a8c04000641f800000000029cf71 to the outer links along the 
written_by property...

This is what it looks like inverted, doing what I want:

{"id": "#9202a8c04000641f800000000029cf71",
  "/film/film/written_by": [{
    "timestamp": null,
    "index":null,
    "sort": "index"
  }]
}

But I can't invert it because I need a cursor.

Alec

>
> does this do what you want?
>
> {
>   "q":{
>     "cursor":true,
>     "query":[{
>       "/type/reflect/any_reverse":[{
>         "id":"#9202a8c04000641f800000000029cf71",
>         "index":null,
>         "link":{
>           "master_property":"/film/film/written_by",
>           "timestamp":null
>         }
>       }],
>       "id":null,
>       "limit":30,
>       "sort":"/type/reflect/any_reverse.link.timestamp"
>     }]
>   }
> }
>




More information about the Developers mailing list