anchor.diff:  {
     "script": {
       "lang": "painless",
  -    "source": "if (ctx._source.last ==~ /[^aeiou].*[aeiou]/) {ctx._source.last += \"matched\"} else {ctx.op = 'noop'}"
  +    "inline": "if (ctx._source.last ==~ /[^aeiou].*[aeiou]/) {ctx._source.last += \"matched\"} else {ctx.op = 'noop'}"
     }
   }
   ----------------------------------------------------------------
  
positive.code:       "order": "asc",
        "script": {
          "lang": "painless",
          "source": "doc['first.keyword'].value + ' ' + doc['last.keyword'].value"
        }
      }
    }
  
negative.code: {
    "script": {
      "lang": "painless",
      "inline": "if (ctx._source.last =~ /b/) {ctx._source.last += \"matched\"} else {ctx.op = 'noop'}"
    }
  }
  ----------------------------------------------------------------
  