# Столкнулся с проблемой разбора слова по составляющим

**URL:** <https://discuss.elastic.co/t/topic/49831>\
**Category:** Вопросы на русском языке\
**Created:** [May 11, 2016, 10:13pm UTC](https://discuss.elastic.co/t/topic/49831 "2016-05-11T22:13:30Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![MaxSeleznov](https://avatars.discourse-cdn.com/v4/letter/m/bc79bd/32.png) [@MaxSeleznov](https://discuss.elastic.co/u/MaxSeleznov)\
**Post date:** [May 11, 2016, 10:13pm UTC](https://discuss.elastic.co/t/topic/49831/1 "2016-05-11T22:13:30Z")

</div>

такой мапинг

```
{
  "state": "open",
  "settings": {
    "index": {
      "creation_date": "1463004182797",
      "analysis": {
        "filter": {
          "text": {
            "name": "english",
            "type": "stemmer"
          }
        },
        "analyzer": {
          "text": {
            "filter": [
              "stop",
              "lowercase",
              "snowball",
              "text"
            ],
            "tokenizer": "standard"
          }
        }
      },
      "number_of_shards": "5",
      "number_of_replicas": "0",
      "uuid": "eqR4_wrJSgCVjVtcmIWlwA",
      "version": {
        "created": "5000002"
      }
    }
  },
  "mappings": {
    "devpost": {
      "properties": {
        "college": {
          "type": "keyword"
        },
        "date": {
          "type": "date"
        },
        "owner": {
          "type": "keyword"
        },
        "privacy": {
          "type": "integer"
        },
        "isVisible": {
          "type": "boolean"
        },
        "hot": {
          "type": "integer"
        },
        "title": {
          "analyzer": "text",
          "type": "text"
        }
      }
    }
  },
  "aliases": [],
  "primary_terms": {
    "0": 1,
    "1": 1,
    "2": 1,
    "3": 1,
    "4": 1
  },
  "active_allocations": {
    "0": [
      "Q0IiP36zRsCCwcp0cfD_Vg"
    ],
    "1": [
      "fA-X-whgTPurBoArYLh8Yw"
    ],
    "2": [
      "yybghiToT0C-Xe4EGpo9mA"
    ],
    "3": [
      "q-_2zpzFSoyKZXombSAIAQ"
    ],
    "4": [
      "ak8T1BH8Q4uDKrAsy5BTGg"
    ]
  }
}

```

делаю поиск "hi" по полю title

и у меня находит запись со словами "his car"

можете подсказать как правильно настроить analyzer и filters

---

<div class="post-metadata">

**Author:** ![Igor\_Motov](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/igor_motov/32/45193_2.png) [@Igor\_Motov](https://discuss.elastic.co/u/Igor_Motov)\
**Post date:** [May 16, 2016, 3:05pm UTC](https://discuss.elastic.co/t/topic/49831/2 "2016-05-16T15:05:42Z")

</div>

Это побочный эффект использования:

> [@MaxSeleznov](#):
>
> ```auto
> {
> "text": {
> "name": "english",
> "type": "stemmer"
> }
> }
> 
> ```

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [July 6, 2017, 1:48pm UTC](https://discuss.elastic.co/t/topic/49831/3 "2017-07-06T13:48:19Z")

</div>


