nus-cs2113-AY2324S1 / pe-dev-response

0 stars 0 forks source link

Search function failed #963

Open nus-pe-bot opened 12 months ago

nus-pe-bot commented 12 months ago

image.png

Always failed to search an existing module even try different inputs.

Yet, it is good that some modules can be found. Maybe it failed only on some rare case.


[original: nus-cs2113-AY2324S1/pe-interim#902] [original labels: type.FunctionalityBug severity.Low]

rohitcube commented 12 months ago

Team's Response

This issue is related to the NUSModsAPI, as some modules cannot be found/ do not exist. It would be difficult and time-consuming to find every edge case (module that cannot be found in the library) out of the thousands of modules.The search function essentially lists out all possible mods and looks to see if the title contains the keyword, so when the title does not exist no result is shown.

This can be tested by using the keyword "computer" and looking at the list of modules, as 'computer organization' module does not appear in the list, so this is an issue related to the library.

Duplicate status (if any):

--