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 think you're looking for precision tuning. 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.
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, 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 ?
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?
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.