Issue:
Searching for "exact this text" doesn't find only the exact string
Steps to reproduce:
- Search for "brand of popcorn in North America" -> https://en.wikipedia.org/w/index.php?search=%22brand+of+popcorn+in+North+America%22&title=Special%3ASearch&profile=default&fulltext=1
- Search it using advanced search : https://en.wikipedia.org/w/index.php?search=brand+of+popcorn+in+North+America&title=Special%3ASearch&profile=advanced&fulltext=1&advancedSearch-current=%7B%22options%22%3A%7B%22phrase%22%3A%22brand+of+popcorn+in+North+America%22%7D%2C%22namespaces%22%3A%5B0%2C6%5D%7D&ns0=1&ns6=1
Expected
Step 2 above matches step 1, e.g. it only finds words that exactly contain "brand of popcorn in North America". Exactly in that order.
Actual
It currently also finds strings like:
Popcorn (popped corn, popcorns or pop-corn) is a variety of corn kernel, which expands and puffs up when heated. A popcorn kernel's strong hull contains
https://en.wikipedia.org/w/index.php?title=Popcorn&oldid=870872258
Proposed solution:
- Either make the "exact text" match the string exactly with no further words, e.g. step 1 above;
- Or create a separate input box for an "exact match" if it is working as expected.