# How setup App Search for fuzziness and partial search?

**URL:** https://discuss.elastic.co/t/how-setup-app-search-for-fuzziness-and-partial-search/366567
**Category:** Elastic Search
**Tags:** elastic-app-search
**Created:** [September 14, 2024, 9:23am UTC](https://discuss.elastic.co/t/how-setup-app-search-for-fuzziness-and-partial-search/366567 "2024-09-14T09:23:05Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![lxup](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/lxup/32/137556_2.png) [@lxup](https://discuss.elastic.co/u/lxup)
#### Post date: [September 14, 2024, 9:23am UTC](https://discuss.elastic.co/t/how-setup-app-search-for-fuzziness-and-partial-search/366567/1 "2024-09-14T09:23:05Z")

</div>

Hi! I just finished setting up my Elasticsearch cluster. I have a web app using Supabase (Postgres) and synced to Elasticsearch via pgsync. I have 4 indexes:

- movies-en (English movies)
- movies-fr (French movies)
- playlists
- users

I'm planning to have 2 search engines:

- search-fr (movies-fr, playlists, users)
- search-en (movies-en, playlists, users)

So, I have my two Meta Engines ready. First, I would like to know how to enable partial search with fuzziness? For example, if I type "inters", I should get "Interstellar" as a result. I'd also like to have search suggestions, but I'm not really sure how to set that up. I don't quite understand analyzers and all that...

I try to do something like that : [Movie search application | Elastic](https://www.elastic.co/fr/demo-gallery/ent-search)

---

<div class="post-metadata">

### Author: ![ashishtiwari1993](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ashishtiwari1993/32/135241_2.png) [@ashishtiwari1993](https://discuss.elastic.co/u/ashishtiwari1993)
#### Post date: [September 14, 2024, 12:45pm UTC](https://discuss.elastic.co/t/how-setup-app-search-for-fuzziness-and-partial-search/366567/2 "2024-09-14T12:45:24Z")

</div>

I think you're looking for [precision tuning](https://www.elastic.co/guide/en/app-search/current/precision-tuning.html). By default it should match the term `intersteller` but if it is not matching, you can achieve the same by setting up the proper precision tune value.

---

<div class="post-metadata">

### Author: ![lxup](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/lxup/32/137556_2.png) [@lxup](https://discuss.elastic.co/u/lxup)
#### Post date: [September 14, 2024, 2:22pm UTC](https://discuss.elastic.co/t/how-setup-app-search-for-fuzziness-and-partial-search/366567/3 "2024-09-14T14:22:59Z")

</div>

Thx for ur help ! So I guess I have to add `analyzer` stuff ? Sry I'm very new to elastic and its kinda hard to understand all concept. Because the docs say :

**To use [precision tuning](https://www.elastic.co/guide/en/app-search/current/precision-tuning.html), you must define subfields for each text field, according to the naming conventions below**

I also guess I have to set analyzer things when adding documents and in my case directly from pgsync ?

Thx again for ur help !

---

<div class="post-metadata">

### Author: ![ashishtiwari1993](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ashishtiwari1993/32/135241_2.png) [@ashishtiwari1993](https://discuss.elastic.co/u/ashishtiwari1993)
#### Post date: [September 18, 2024, 6:38am UTC](https://discuss.elastic.co/t/how-setup-app-search-for-fuzziness-and-partial-search/366567/4 "2024-09-18T06:38:40Z")

</div>

Hi @lxup, Yes you need to define subfield. But have you tried app search with default configuration? I guess default settings will full fill your requirement?

---

<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 16, 2024, 6:39am UTC](https://discuss.elastic.co/t/how-setup-app-search-for-fuzziness-and-partial-search/366567/5 "2024-10-16T06:39:35Z")

</div>

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