nus-cs2103-AY2223S2 / pe-dev-response

1 stars 0 forks source link

Unable to find unit #3312

Open nus-pe-bot opened 1 year ago

nus-pe-bot commented 1 year ago

image.png

While it is mentioned in the UG that keywords should not contain spaces and only one part of a field is needed for a successful match, it does not work as described for the address

The user can run the command find 1GDS or find 1gd to look for the entry below, but no person will be found.

image.png

image.png

image.png

Running find GDS also shows this entry

image.png

which should have been shown when the user runs the commandfind 1GDS or find 1gd.

This prevents the users from doing more specific searches to narrow down the results returned for the unit portion.


[original: nus-cs2103-AY2223S2/pe-interim#2647] [original labels: type.FunctionalityBug severity.Medium]

rexcyrio commented 1 year ago

Team's Response

Hi Tester!

While it is mentioned in the UG that keywords should not contain spaces and only one part of a field is needed for a successful match, it does not work as described for the address

I think you meant to say unit?


The find feature performs a full-text search on every field of every person. Running find 1GDS returns no persons as expected as no person has the exact string 1GDS in any of their fields.

The filter feature searches for persons based on certain fields. For example, to search for all persons that belong to the unit 1 GDS, you can run filter u/1 GDS and the correct Bernice Yu entry should appear as expected (do refer to the UG for the full details of the filter feature)

Please use the filter feature instead of the find feature. Thank you.

Duplicate status (if any):

--