Fullmental
Active member
- Affected version
- 2.2
I recently tried searching for a thread on our forum by exact thread name that I knew existed. I tried this using the "search threads only" criteria, but searching for the thread using the keywords returned zero results. Attempting to search for the same keywords on a standard search with no options returned the thread near the bottom of a long, long list of results, and included this message, but only once:
After searching once, this message ceased to appear in subsequent searches, and the standard keyword search stopped showing ANY results. Very odd!
Interestingly enough this message does not appear even once on a search where "search threads only" are checked, and instead of ignoring the keyword the inclusion of such words seems to just break the search results entirely. Searching for the same thread title with "on" excluded returns the thread, so I know the thread is in the search index.
Still, I did some checking to make sure everything was as expected. The search indexer is enabled at the node level, and I just tried a complete rebuild of the thread search index both with and without deleting the existing cache, with no change:
There are no errors in the ACP, and no indications as to why a user might find zero results.
The expected behavior would be, if the search engine cannot use these common words, they would get excluded just like in a search for all content. At the very least, a message should always be displayed to the user to try removing common or short words, and provide a list so they can manually adjust their search criteria.
Note: we do NOT have enhanced search. It is part of our license, but it is not enabled on our production site yet and the addon has not been installed. The issue appears to be fixed when using enhanced search on a test site.
After searching once, this message ceased to appear in subsequent searches, and the standard keyword search stopped showing ANY results. Very odd!
Interestingly enough this message does not appear even once on a search where "search threads only" are checked, and instead of ignoring the keyword the inclusion of such words seems to just break the search results entirely. Searching for the same thread title with "on" excluded returns the thread, so I know the thread is in the search index.
Still, I did some checking to make sure everything was as expected. The search indexer is enabled at the node level, and I just tried a complete rebuild of the thread search index both with and without deleting the existing cache, with no change:
There are no errors in the ACP, and no indications as to why a user might find zero results.
The expected behavior would be, if the search engine cannot use these common words, they would get excluded just like in a search for all content. At the very least, a message should always be displayed to the user to try removing common or short words, and provide a list so they can manually adjust their search criteria.
Note: we do NOT have enhanced search. It is part of our license, but it is not enabled on our production site yet and the addon has not been installed. The issue appears to be fixed when using enhanced search on a test site.
Last edited: