nus-cs2103-AY2223S2 / pe-dev-response

1 stars 0 forks source link

Find feature only able to search entire words #533

Open nus-pe-bot opened 1 year ago

nus-pe-bot commented 1 year ago

Description

When adding recipes, some recipe names include the type of food that is being created in the name i.e. cheesecake is a cake

When using find on cake, a user would expect to see cheesecake as one of the find results, however, find is only able to find the entry if the entry is cheese cake, where cake is a word on its own.

Steps for reproducing

  1. clear
  2. add t/cheesecake i/flour, 4, teaspoon, 0.02 s/mix the flour d/cheesecake
  3. add t/sponge cake i/flour, 4, cups, 0.3 s/mix flour into batter d/spongey
  4. find r/cake

Expected Output

Cheesecake and sponge cake entry

Actual Output

image.png


[original: nus-cs2103-AY2223S2/pe-interim#674] [original labels: severity.Low type.FeatureFlaw]

bernicetoh commented 1 year ago

Team's Response

Mentioned in Planned Enhancements 6

Screenshot 2023-04-16 at 4.26.32 PM.png

Duplicate status (if any):

--