# Can you filter a GET search field based on a String value?

**URL:** <https://discuss.elastic.co/t/can-you-filter-a-get-search-field-based-on-a-string-value/275539>\
**Category:** Elasticsearch\
**Created:** [June 10, 2021, 8:44am UTC](https://discuss.elastic.co/t/can-you-filter-a-get-search-field-based-on-a-string-value/275539 "2021-06-10T08:44:19Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![SeanO95](https://avatars.discourse-cdn.com/v4/letter/s/c2a13f/32.png) [@SeanO95](https://discuss.elastic.co/u/SeanO95)\
**Post date:** [June 10, 2021, 8:44am UTC](https://discuss.elastic.co/t/can-you-filter-a-get-search-field-based-on-a-string-value/275539/1 "2021-06-10T08:44:19Z")

</div>

Looking to search a field's result for specific results.  
So if I have a name field and want to find names beginning with A, I should be able to input 'A\*' and it'll bring back all names beginning with A. So far I've only been able to pull back all names inside of the name field itself, so it doesn't matter what the input string is.

Can anyone point me in the right direction of how to set this up?

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:** [July 8, 2021, 8:44am UTC](https://discuss.elastic.co/t/can-you-filter-a-get-search-field-based-on-a-string-value/275539/2 "2021-07-08T08:44:45Z")

</div>

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