anchor.diff:  {
     "query": {
       "script_score": {
  -      "query": {
  -        "match_all": {}
  +      "query" : {
  +        "bool" : {
  +          "filter" : {
  +            "term" : {
  +              "status" : "published"
  +            }
  +          }
  +        }
         },
         "script": {
           "source": "1 / (1 + l1normSparse(params.queryVector, doc['my_sparse_vector']))",
  
positive.code: {
    "query": {
      "script_score": {
        "query": {
          "match_all": {}
        },
        "script": {
          "source": "1 / (1 + l2normSparse(params.queryVector, doc['my_sparse_vector']))",
  
negative.code:       },
        "my_sparse_vector" : {
          "type" : "sparse_vector"
        },
        "status" : {
          "type" : "keyword"
        }
      }
    }
  