The cloud search and analytics engine can be synchronized with your mongodb database automatically or manually. Automatic synchronization connects to the mongodb database, copies a snapshot of the data and then continue to sync the data by tailing the oplog of the mongodb database. For manual synchronization, you are responsible for inserting, deleting and updating data in the search engine using the CRUD api. You typically will perform manual synchronization in your app code after the object is saved in the database.
Automatic data syncing accepts only the below data tyoes from the mongo wire protocol. If an attribute is not of the type below, the attribute is ignored as if it does not exist in the source document. For almost all use cases, the below data types are more then enough. Note you can however query the data with regex types and so on. The below data type restriction is only for DML operations on automatic data synchronization.
Manaul synchronizations gives you complete control on the names of the classes, as well as the fields populated in the search engine but requires a bit more code to accomplish. The example given below is for parse server deployments. For meteorjs and node js, you will have to figure out when it is best to update, delete or insert into the search engine in your app code. It is generally sound practice to update the search engine once the operation has completed on the database.
Applies to both nodejs and parse server.