Got it.
Your answer is very helpful. Thank you very much.
четверг, 27 марта 2014 г., 15:59:03 UTC+3 пользователь Binh Ly написал:
>
> 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/e64624e2-049b-4753-9a69-6d33f650a62c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.