[Developers] "index" on any_reverse/any_master

Alec Flett alecf at metaweb.com
Mon Apr 2 21:44:39 UTC 2007


So I've got a query structured like this:
{
  "q":{
    "cursor":true,
    "query":[{
      "/type/reflect/any_reverse":{
        "id":"#9202a8c04000641f800000000029cf71",
        "link":{
          "master_property":"/film/film/written_by",
          "timestamp":null
        }
      },
      "id":null,
      "limit":30
    }]
  }
}

(This is "film writers of war of the worlds")

The problem is, I really want to sort this query by "index" on the 
"any_reverse" link. I can't really figure out where to put the "index": 
null clause.

If I put it directly inside any_reverse, or even inside the "link", I 
get "Must specify index in a list subquery, not a unique subquery"

Thoughts?  I need to structure my query inside a list because I need the 
cursor....

Alec



More information about the Developers mailing list