Closed jayaddison closed 3 years ago
Describe the bug Although we correctly match the text slow cookers in recipe direction text against the equipment name slow cooker, it seems that we store and index the pluralized slow cookers item name in some cases.
slow cookers
slow cooker
Screenshot
To Reproduce Steps to reproduce the behavior:
$ $ curl --silent 192.168.100.1:9200/recipes/_doc/jCxMehkRj5VR6bbfWzFU23d1LwHwZNMpbXC | jq ._source.directions[].equipment [ { "equipment": "slow cooker" } ] [ { "equipment": "slow cooker" }, { "equipment": "slow cookers" } ] []
Expected behavior slow cooker should appear in the equipment lists, but slow cookers should not.
This has been resolved thanks to the linked pull requests.
Describe the bug Although we correctly match the text
slow cookers
in recipe direction text against the equipment nameslow cooker
, it seems that we store and index the pluralizedslow cookers
item name in some cases.Screenshot
To Reproduce Steps to reproduce the behavior:
Expected behavior
slow cooker
should appear in the equipment lists, butslow cookers
should not.