#17200 closed defect (bug) (worksforme)
[Search] Posts containing search terms missing from Search Results
Reported by: | newmediarts | Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | 3.1 |
Component: | Query | Keywords: | reporter-feedback |
Focuses: | Cc: |
Description
I tried to perform a search based on some text within this article on my site, specifically “Jason Sanchez”, but got no results.
Furthermore, when I search for "CNN" (for example), only two entries come back:
…but not this one, even though it should.
Other searches had similar problems (e.g., searching for "video", etc.). WordPress' built-in search seems to have some serious flaws in its search algorithm. I'm hoping you can resolve this in an upcoming release.
Change History (5)
#2
@
14 years ago
- Keywords close removed
@scribu: I also have a local development instance of the site on my machine, as well as a staging instance. I've tried disabling all the plugins and retrying the searches in both environments, but they still don't show up in the results.
#3
@
14 years ago
- Keywords reporter-feedback added
Maybe attach a text file containing the exact content (as it shows up in the edit screen) of the post that isn't showing up in the search.
#4
@
14 years ago
newmediarts: Can you install the "Debug Bar" plugin & add define('SAVEQUERIES', true);
to your wp-config.php file; Once that's done, Perform the search and click the Debug button in the Admin Bar, if you can copy the queries made to check that nothing is being excluded?
If you recognise the search query amongst them, You can try running that against MySQL directly to see if that's returning the post.. I'd be interested in seeing the outcome of that too.
I copied the 3 posts you mentioned and they all show up, as expected, when doing a search for 'cnn'.
It can be either some code in your theme or a plugin causing the trouble.