# Searching for fields greater than certain size

**URL:** https://discuss.elastic.co/t/searching-for-fields-greater-than-certain-size/99433
**Category:** Elasticsearch
**Created:** [September 5, 2017, 1:28pm UTC](https://discuss.elastic.co/t/searching-for-fields-greater-than-certain-size/99433 "2017-09-05T13:28:09Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![aliyesami](https://avatars.discourse-cdn.com/v4/letter/a/ecb155/32.png) [@aliyesami](https://discuss.elastic.co/u/aliyesami)
#### Post date: [September 5, 2017, 1:28pm UTC](https://discuss.elastic.co/t/searching-for-fields-greater-than-certain-size/99433/1 "2017-09-05T13:28:09Z")

</div>

this seems to be a simple task but I didn't get any response when I asked this question before , can someone please guide me ? I have also installed mapper-size plugin on elasticsearch 5.5

thanks

---

<div class="post-metadata">

### Author: ![thiago](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/thiago/32/32096_2.png) [@thiago](https://discuss.elastic.co/u/thiago)
#### Post date: [September 11, 2017, 1:48am UTC](https://discuss.elastic.co/t/searching-for-fields-greater-than-certain-size/99433/2 "2017-09-11T01:48:27Z")

</div>

You could try searching using [Script Query](https://www.elastic.co/guide/en/elasticsearch/reference/current/index.html). You would use a script that returns true if a field has the desired length.

---

<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: [October 9, 2017, 1:48am UTC](https://discuss.elastic.co/t/searching-for-fields-greater-than-certain-size/99433/3 "2017-10-09T01:48:42Z")

</div>

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