Searches for quoted phrases are matching topics with no such phrase
Posted: Tue Apr 11, 2023 4:59 pm
We have gotten feedback that sometimes WebHelp searches for quoted phrases will return topics that contain words in the phrase, but not that phrase in its entirety.
For example, in the attached testcase, a search for "user function" returns the following results:
but only the second topic actually contains the phrase "user function".
Here's the testcase:
It contains a text file of word pairs (pairs.txt) and a perl script that can randomly regenerate the testcase with the pairs allocated across any number of topics. For example, the attached testcase was generated with:
The issue behavior is strange. It does not seem to be affected much by topic count. Some randomly ordered testcases show the issue and some do not. I haven't been able to get an idea of the underlying cause.
Please let us know the issue ID so we can track it on our side. Thanks!
For example, in the attached testcase, a search for "user function" returns the following results:
but only the second topic actually contains the phrase "user function".
Here's the testcase:
It contains a text file of word pairs (pairs.txt) and a perl script that can randomly regenerate the testcase with the pairs allocated across any number of topics. For example, the attached testcase was generated with:
Code: Select all
make_pairs_testcase.pl 10 pairs.txt
Please let us know the issue ID so we can track it on our side. Thanks!