# Configuring the standard tokenizer

**URL:** <https://discuss.elastic.co/t/configuring-the-standard-tokenizer/8691>\
**Category:** Elasticsearch\
**Created:** [August 9, 2012, 11:09am UTC](https://discuss.elastic.co/t/configuring-the-standard-tokenizer/8691 "2012-08-09T11:09:12Z")\
**Posts on this page:** 1\
**Showing post:** 5

<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:** [June 20, 2015, 9:25pm UTC](https://discuss.elastic.co/t/configuring-the-standard-tokenizer/8691/5 "2015-06-20T21:25:54Z")

</div>

By default the `simple_query_string` query doesn't analyze the words with wildcards. As a result it searches for all tokens that start with `i-ma`. The word `i-mac` doesn't match this request because during analysis it's split into two tokens `i` and `mac` and neither of these tokens starts with `i-ma`. In order to make this query find `i-mac` you need to make it analyze wildcards:

```
{
  "_source":true,
  "query":{
    "simple_query_string":{
      "query":"i-ma*",
      "analyze_wildcard": true,
      "default_operator":"AND"
    }
  }
}

```

Igor

---

_[View the full topic](https://discuss.elastic.co/t/configuring-the-standard-tokenizer/8691)._
