I am seeking guidance on the best approach for a project, aiming to get the right advice from the beginning to avoid any detours along the way.
The App I am developing (using Ionic / (AngularJS) and Parse) will serve as a search engine for Exercises. The current Exercise Dataset contains over 4000 entries and is expected to grow further. To enable users to find exercises efficiently, there will be two search methods:
Text search for the
exerciseTitle
using Angularng-filter
. This feature is currently functioning effectively.Filter selection similar to Amazon's system, where users can choose specific categories to narrow down their search results. Filters are added dynamically, enhancing the search process based on user preferences. This method proves useful when exercises have various names, allowing for categorization through tags/filters rather than just relying on the exercise title.
Currently, the app successfully implements this functionality by utilizing filter arrays to refine data search results.
We are in the midst of refining our dataset to maximize its searchability and filter options. One suggestion is to include tags
for each exercise. For instance, the exercise 'Squat' could have tags categorized as below.
Body Part "Legs","Lower Body","Quadriceps"
Exercise Type "Strength","Standing", "Weighted"
Equipment "Dumbell"
In JSON format, a typical exercise entry appears like this:
{[
"exerciseTitle":"Walking Lunge with Resistance Band Above Head",
"exId" : "23jhgb56ha",
"originalId" : "12",
"masterImage" : "31",
"images" : ["31","32","33"],
"description" : "Holding the resistance band above your head take a step forward from the standing position and drop the knee of the rear leg down to the floor",
"primaryMuscleGroup" : "Quadriceps",
"secondaryMuscleGroup" : "Glutes",
"equipment" : "Resistance Band",
"functionalMovement" : "Lunge",
"relatedExercises" : ["23","25"],
]}
Question 1. When adding tags to the dataset, should they be divided into taxonomies and individual tags, or would it suffice to have an array of tags related to each exercise?
Question 2. How can filter only the tags within a specific taxonomy in AngularJS?
Question 3. Any insights on approaching this project to ensure flawless search functionality, enabling users to locate even the most intricate exercises effortlessly within the system?
Thank you!