sort by random

  1.  
    1. is there any way to retrieve a random item in list of items?  I often run into scenarios where i want to test a random series of (valid) us addresses against my business rules.  it would be great if i could so something like this:

       {

        "query" : [
      {
      "citytown" : null,
      "limit" : 10,
      "sort" : random,
      "state_province_region" : null,
      "street_address" : null,
      "type" : "/location/mailing_address"
      }
      ]

       

      1. Currently there is no way to have MQL return a random set of items.  You might want to post this as an enhancement request here.

      2. Good morning all.

        Has a random feature become manifest in the meantime or is is on the agenda?

        Cheers

         martin


    Discussion is posted in:

    Think this discussion also relates to something else? Cross-post it by adding a new discussion area:

Related Discussions