What is the difference between a text index and a search index?

Text index vs search index


While going through the Realm video series on Youtube I noticed in the search section we didn’t implement a text index in order to enable the text search functionality we just made a search index. I did not even know this was a thing, I thought the purpose of a text index was to enable search. Is this text search something exclusive to Realm? If not…

  1. What is the difference between a text index search and a regular search
  2. When would you use one over the other

Any feedback/ guidance is greatly appreciated.

Hello @Wayne_Barker ,

Welcome to The MongoDB Community Forums! :wave:

Could you please share which Realm video series are you referring to?

Regards,
Tarun

2 Likes

Sorry, I didn’t realize there was more than one here is the link at the time as well.
MongoDB Atlas Search to Easily Find Your Data | Search & Autocomplete Implementation | Jumpstart

Also while I have a professional here… If it’s not a big inconvenience to you can you look at my other question?
How to restrict certain serverless functions based on the authentication type in Realm