javascript – Implementing a json base search using parsecloud


I'm learning to make an application on iOS , backend on .

I'm trying to search for cars in the database ( uploaded the json file to parse , installed parse cloud ).

Maybe someone has experience? What would the search function look like?

Thanks in advance


I did this:

  1. For each class that needs to be searched, I added the searchTerms field (an array of strings)
  2. In the beforeSave function of the class, parsed the content and edited the searchTerms array. For example, parsed the name, category into words and updated the array.
  3. The search query was again parsed into words
  4. Each word was added to the Parse.Query object in the query.contains("searchTerms", value);
Scroll to Top