# Creating index with field type keyword in app search

**URL:** <https://discuss.elastic.co/t/creating-index-with-field-type-keyword-in-app-search/344178>\
**Category:** Elastic Search\
**Tags:** docker, elastic-app-search\
**Created:** [October 1, 2023, 12:33am UTC](https://discuss.elastic.co/t/creating-index-with-field-type-keyword-in-app-search/344178 "2023-10-01T00:33:53Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![kabilsharma](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kabilsharma/32/100503_2.png) [@kabilsharma](https://discuss.elastic.co/u/kabilsharma)\
**Post date:** [October 5, 2023, 6:20am UTC](https://discuss.elastic.co/t/creating-index-with-field-type-keyword-in-app-search/344178/5 "2023-10-05T06:20:45Z")

</div>

Thanks carlos for you reply. For the proximity boost issue we are trying to do this as mention here as a woraround to get better results [Geo location distance sorting by proximity boost](https://discuss.elastic.co/t/geo-location-distance-sorting-by-proximity-boost/270749).

The thing about the mapping is we are just creating a very simple search engine with name and district\_name search. As i mention i ingestion works fine but when we try to update schema we have only four option( now five nested ) . It doesnt have keyword in it. So all together we need to see as stephenb suggested to query as keyword which is new approach for me . I appreaciate if you can understand my use case and suggest how to get desire results .

we have columns like

Name Text  
District\_name keyword  
Category keyword  
address keyword  
phone-no text  
location lat, long

if elastic\_search ingest District\_name ,Category ,address as text how i can still restrict them to do only keyword search on these columns instead of full text search. Thanks in advance

---

_[View the full topic](https://discuss.elastic.co/t/creating-index-with-field-type-keyword-in-app-search/344178)._
