Open Pcushing opened 4 years ago
We dont have this part working:
the text in the input box
ie, I type "Mechatronics" and hit enter on my keyboard. This is often going to be teh best results bc with elasticsearch, we're doing an "OR" keyword search. Meaning, "Mechatronics Technician" yields results with "Mechatronics" or "Technician". That's fine, but if we support searching by typed keyword from the input box, we'd limit the results as you're unlikely to type the "Technician" part.
When we switched to supporting multiple types from just competency, the results dont span across types now. I'm working on updating the search for occupation standards so it can accept a query
q
and return results across types. Lets just the text in the input box OR the title of the occupation they clicked on in the autosuggest to populate the query.The occupation standard search works now based on this branch: https://github.com/WorkHands/RAPiDSkills/pull/363.
You'll need to pass the query string to the
q
param instead of passingoccupation_id
.