# Wildcard Search on not analysed fields

**URL:** <https://discuss.elastic.co/t/wildcard-search-on-not-analysed-fields/21108>\
**Category:** Elasticsearch\
**Created:** [December 5, 2014, 3:05pm UTC](https://discuss.elastic.co/t/wildcard-search-on-not-analysed-fields/21108 "2014-12-05T15:05:32Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Pavan](https://avatars.discourse-cdn.com/v4/letter/p/439d5e/32.png) [@Pavan](https://discuss.elastic.co/u/Pavan)\
**Post date:** [December 5, 2014, 3:05pm UTC](https://discuss.elastic.co/t/wildcard-search-on-not-analysed-fields/21108/1 "2014-12-05T15:05:32Z")

</div>

There is field Companyname which has data that includes letter numbers and  
characters even special characters.

Want to do a wild card search on this field the problem with this are  
mentioned below.

If i make this field analysed(standard) and search it will not search on  
Characters like (-, +, ())

if i make this not analysed and Search ,query string query is not matching  
the exact terms , that is if i have a company name like Jessica john,  
query string wild card wildcard value _Jessica_ wont match the field  
Jessica John but _essica_ will match  
but if i use direct wild card query without using wildcard via query string  
it works in both the cases but it case sensitive.

the search should match all the characters including special characters and  
letters and terms.

Is there a way to get this done ?

Thanks,  
Pavan

--  
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 [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/8959626a-3d55-4646-b8c3-e7d57eef00af%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/8959626a-3d55-4646-b8c3-e7d57eef00af%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<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, 12:45am UTC](https://discuss.elastic.co/t/wildcard-search-on-not-analysed-fields/21108/2 "2017-07-06T00:45:32Z")

</div>


