# Ngram Analyzer cannot detect "^"

**URL:** <https://discuss.elastic.co/t/ngram-analyzer-cannot-detect/72983>\
**Category:** Elasticsearch\
**Created:** [January 27, 2017, 7:30am UTC](https://discuss.elastic.co/t/ngram-analyzer-cannot-detect/72983 "2017-01-27T07:30:54Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![rsjavier](https://avatars.discourse-cdn.com/v4/letter/r/9e8a1a/32.png) [@rsjavier](https://discuss.elastic.co/u/rsjavier)\
**Post date:** [January 27, 2017, 7:30am UTC](https://discuss.elastic.co/t/ngram-analyzer-cannot-detect/72983/1 "2017-01-27T07:30:54Z")

</div>

Hi All,

I have created an index with Ngram Analyzer that can search phrases. I also use the Ngram Tokenizer with "token\_chars": ["letter","digit","punctuation","symbol"].

Everything looks OK but I hit a problem when I search a phrase with "^" char. It cannot find the phrase but without "^", it can be found.

Is the "^" included as symbol or punctuation? If not, how can I include it?

Thanks!

---

<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:** [February 24, 2017, 7:30am UTC](https://discuss.elastic.co/t/ngram-analyzer-cannot-detect/72983/2 "2017-02-24T07:30:56Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
