# Kibana search with partial match

**URL:** <https://discuss.elastic.co/t/kibana-search-with-partial-match/37468>\
**Category:** Kibana\
**Created:** [December 17, 2015, 12:45pm UTC](https://discuss.elastic.co/t/kibana-search-with-partial-match/37468 "2015-12-17T12:45:17Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![ayasha88](https://avatars.discourse-cdn.com/v4/letter/a/d6d6ee/32.png) [@ayasha88](https://discuss.elastic.co/u/ayasha88)\
**Post date:** [December 17, 2015, 12:45pm UTC](https://discuss.elastic.co/t/kibana-search-with-partial-match/37468/1 "2015-12-17T12:45:18Z")

</div>

Hi

I have a field called ipclient inside my properties. It is of string type because I was not able to change its type and by default if you create the index with log4net.elasticsearch it is set as string.  
Anyway now I would like to do a search of all the ips that start with 10.20.1. but I am not able to do it. Is it possible? How?  
Thanks.

---

<div class="post-metadata">

**Author:** ![Joe\_Fleming](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/joe_fleming/32/3561_2.png) [@Joe\_Fleming](https://discuss.elastic.co/u/Joe_Fleming)\
**Post date:** [December 17, 2015, 7:49pm UTC](https://discuss.elastic.co/t/kibana-search-with-partial-match/37468/2 "2015-12-17T19:49:55Z")

</div>

The string type is not ideal, but it could still work if the field is not analyzed, or if you have a non-analyzed (perhaps named .raw) version of it.

Your best bet is probably to re-index the data and set the mapping correctly instead of using string though.

---

<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, 2:06pm UTC](https://discuss.elastic.co/t/kibana-search-with-partial-match/37468/3 "2017-07-06T14:06:21Z")

</div>


