Strange wordpress search results?
But the search delivers really strange results! Often post are found, which doesn't contain anything related to the search term and even dump searches like sdfsdf will return sometime a result. What is going wrong here?
The searchterm seems to be found, as I can use get_search_query(); to print it out. Has anybody else encountered this before?
The search is probably looking for the search term in all of the content, visible and non-visible. Try repeating one of the searches that looked incorrect to you and view the page source (ctrl+u in most browsers), then find (ctrl+f) the search term and see if it turns up in a link or file name.