# Hyphens or dots at end of search term

**URL:** <https://discuss.elastic.co/t/hyphens-or-dots-at-end-of-search-term/66178>\
**Category:** Elasticsearch\
**Created:** [November 15, 2016, 11:11pm UTC](https://discuss.elastic.co/t/hyphens-or-dots-at-end-of-search-term/66178 "2016-11-15T23:11:09Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![grnr19691](https://avatars.discourse-cdn.com/v4/letter/g/b782af/32.png) [@grnr19691](https://discuss.elastic.co/u/grnr19691)\
**Post date:** [November 15, 2016, 11:11pm UTC](https://discuss.elastic.co/t/hyphens-or-dots-at-end-of-search-term/66178/1 "2016-11-15T23:11:09Z")

</div>

How to search for terms with '-' in them when I use phrase\_match?  
For example there are two terms elastic-search and elasti-csearch.  
When I search for easti- it is giving both elastic-search and elasti-csearch in results.

---

<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:** [December 13, 2016, 11:11pm UTC](https://discuss.elastic.co/t/hyphens-or-dots-at-end-of-search-term/66178/2 "2016-12-13T23:11:16Z")

</div>

Closed on December 13, 2016, 11:11pm UTC

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