anchor.diff:  
   [source,js]
   --------------------------------------------------
  -GET analyze_sample/_analyze
  -{
  -  "text" : "this is a test"
  -}
  ---------------------------------------------------
  -// CONSOLE
  -// TEST[setup:analyze_sample]
  +GET /analyze_sample/_analyze
  +{
  +  "text" : "this is a test"
  +}
  +--------------------------------------------------
  +// CONSOLE
  +// TEST[setup:analyze_sample]
  
positive.code: // CONSOLE
  // TEST[setup:analyze_sample]
  
  Also, the analyzer can be derived based on a field mapping, for example:
  
  [source,js]
  --------------------------------------------------
  GET analyze_sample/_analyze
  {
    "field" : "obj1.field1",
    "text" : "this is a test"
  
negative.code: --------------------------------------------------
  // CONSOLE
  
  [[analyze-api-specific-index-ex]]
  ===== Specific index
  
  You can also run the analyze API against a specific index:
  
  [source,js]
  --------------------------------------------------
  GET /analyze_sample/_analyze
  {
    "text" : "this is a test"
  }
  