title: Return the search tokens along with the search result
body: <p>Is it possible to return the search tokens along with the search results? Not highlighted search results, but the tokens in a separate array field.
  Docs do not mention this option.
  I know I can make a separate analyze request, but that's not what I need.</p>
  <p>Example of a search query:</p>
  <pre><code>{
     &quot;explain&quot;: true,
     &quot;query&quot; : {
        &quot;query_string&quot; : {
            &quot;query&quot;: &quot;\&quot;General Electric\&quot;&quot;
        },
        &quot;default_field&quot;: &quot;all&quot;
     }
  }
  </code></pre>
  <p>Response:</p>
  <pre><code>{
      &quot;took&quot;: 108,
      &quot;timed_out&quot;: false,
      &quot;_shards&quot;: {
          &quot;total&quot;: 2,
          &quot;successful&quot;: 2,
          &quot;skipped&quot;: 0,
          &quot;failed&quot;: 0
      },
      &quot;hits&quot;: {
          &quot;total&quot;: 1225,
          &quot;max_score&quot;: 10.362924,
          &quot;hits&quot;: [
              {
                  &quot;_shard&quot;: &quot;[documents_en_2021-08][0]&quot;,
                  &quot;_node&quot;: &quot;11WLf7tHS_uRNc4YMRYfMg&quot;,
                  &quot;_index&quot;: &quot;documents_en_2021-08&quot;,
                  &quot;_type&quot;: &quot;document&quot;,
                  &quot;_id&quot;: &quot;281973200753421&quot;,
                  &quot;_score&quot;: 10.362924,
                  &quot;_source&quot;: {...},
                  &quot;_explanation&quot;: {
                      &quot;value&quot;: 10.362924,
                      &quot;description&quot;: &quot;sum of:&quot;,
                      &quot;details&quot;: [
                          {
                              &quot;value&quot;: 10.362924,
                              &quot;description&quot;: &quot;weight(all:\&quot;gener electr\&quot; in 29284) [PerFieldSimilarity], result of:&quot;,
                              &quot;details&quot;: [
                                  {
                                      &quot;value&quot;: 10.362924,
                                      &quot;description&quot;: &quot;score(doc=29284,freq=2.0 = phraseFreq=2.0\n), product of:&quot;,
                                      &quot;details&quot;: [
                                          {
                                              &quot;value&quot;: 5.828934,
                                              &quot;description&quot;: &quot;idf(), sum of:&quot;,
                                              &quot;details&quot;: [
                                                  {
                                                      &quot;value&quot;: 2.2141302,
                                                      &quot;description&quot;: &quot;idf, computed as log(1 + (docCount - docFreq + 0.5) / (docFreq + 0.5)) from:&quot;,
                                                      &quot;details&quot;: [
                                                          {
                                                              &quot;value&quot;: 125554.0,
                                                              &quot;description&quot;: &quot;docFreq&quot;,
                                                              &quot;details&quot;: []
                                                          },
                                                          {
                                                              &quot;value&quot;: 1149255.0,
                                                              &quot;description&quot;: &quot;docCount&quot;,
                                                              &quot;details&quot;: []
                                                          }
                                                      ]
                                                  },
                                                  {
                                                      &quot;value&quot;: 3.614804,
                                                      &quot;description&quot;: &quot;idf, computed as log(1 + (docCount - docFreq + 0.5) / (docFreq + 0.5)) from:&quot;,
                                                      &quot;details&quot;: [
                                                          {
                                                              &quot;value&quot;: 30940.0,
                                                              &quot;description&quot;: &quot;docFreq&quot;,
                                                              &quot;details&quot;: []
                                                          },
                                                          {
                                                              &quot;value&quot;: 1149255.0,
                                                              &quot;description&quot;: &quot;docCount&quot;,
                                                              &quot;details&quot;: []
                                                          }
                                                      ]
                                                  }
                                              ]
                                          },
                                          {
                                              &quot;value&quot;: 1.7778419,
                                              &quot;description&quot;: &quot;tfNorm, computed as (freq * (k1 + 1)) / (freq + k1 * (1 - b + b * fieldLength / avgFieldLength)) from:&quot;,
                                              &quot;details&quot;: [
                                                  {
                                                      &quot;value&quot;: 2.0,
                                                      &quot;description&quot;: &quot;phraseFreq=2.0&quot;,
                                                      &quot;details&quot;: []
                                                  },
                                                  {
                                                      &quot;value&quot;: 1.2,
                                                      &quot;description&quot;: &quot;parameter k1&quot;,
                                                      &quot;details&quot;: []
                                                  },
                                                  {
                                                      &quot;value&quot;: 0.75,
                                                      &quot;description&quot;: &quot;parameter b&quot;,
                                                      &quot;details&quot;: []
                                                  },
                                                  {
                                                      &quot;value&quot;: 329.31085,
                                                      &quot;description&quot;: &quot;avgFieldLength&quot;,
                                                      &quot;details&quot;: []
                                                  },
                                                  {
                                                      &quot;value&quot;: 64.0,
                                                      &quot;description&quot;: &quot;fieldLength&quot;,
                                                      &quot;details&quot;: []
                                                  }
                                              ]
                                          }
                                      ]
                                  }
                              ]
                          },
                          {
                              &quot;value&quot;: 0.0,
                              &quot;description&quot;: &quot;match on required clause, product of:&quot;,
                              &quot;details&quot;: [
                                  {
                                      &quot;value&quot;: 0.0,
                                      &quot;description&quot;: &quot;# clause&quot;,
                                      &quot;details&quot;: []
                                  },
                                  {
                                      &quot;value&quot;: 1.0,
                                      &quot;description&quot;: &quot;DocValuesFieldExistsQuery [field=_primary_term]&quot;,
                                      &quot;details&quot;: []
                                  }
                              ]
                          }
                      ]
                  }
              }
           ]
        }
    }
  </code></pre>
  <p>In the explanation part I can see search tokens - &quot;gener&quot; and &quot;electr&quot;.
  My question Is there an option to get these tokens with the search as a plain array like <code>[&quot;gener&quot;, &quot;electr&quot;]</code>?</p>