The html_strip is applied to your description field so it will work only if 
you search in that field:

{
  "query": {
    "query_string": {
      "query": "description:span"
    }
  }
}

Your example search looks in the _all field by default which is using the 
standard analyzer. You can apply your analyzer to the _all field if you 
like after which you will get your desired results:

  "mappings": {
    "doc": {
      "_all": {
        "type": "string",
        "analyzer": "snowball_without_tags"
      },
      "properties": {
      }
    }
  }

-- 
You received this message because you are subscribed to the Google Groups 
"elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elasticsearch/d8b47ed4-2ecd-40ea-ab83-becb21d45cc4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to