nus-cs2103-AY2021S1 / pe-dev-response

0 stars 0 forks source link

find command does not seem to work for some keywords #2727

Open nus-se-bot opened 4 years ago

nus-se-bot commented 4 years ago

Find command in general works for most keywords such as jurong and trick eye musuem.

But for some reason the keyword singapore zoo or zoo singapore keyword will list all attractions. Seems like all attractions contain singapore zoo.

Steps to replicate:

  1. Use the default data by deleting the .json file
  2. Enter find-attraction singapore zoo

image.png


[original: nus-cs2103-AY2021S1/pe-interim#2519]

Robinho98 commented 4 years ago

Team's Response

Find command finds all attractions with either singapore or zoo. Since all the listed attractions have singapore, singapore as their location, all the attractions are listed. We acknowledge that our UG is a little vague as it is open to interpretation, but the find command searches for any of the individual keywords, just like AB3.

image.png

Duplicate status (if any):

--