Support » Fixing WordPress » WP1.5.2 thinks it’s searching but actually it’s not. Search does NOT work…

Viewing 9 replies - 1 through 9 (of 9 total)
  • The site is in Russian. The search form is above the banner.

    Hi,

    No real ideas. I notice that the search is working, just not for the search term “MAZDA”. To prove that, I copied another word in the same article (don’t speak Russian, so don’t know what the word was) and pasted it into the search box on your front page and the search returned three entries that matched that word.

    I wonder if this is more a MySQL issue? Maybe a collation conflict? Do you have something like phpMyAmin (or other way of running queries against the db) available?

    If so, what happens when you run the following query directly against the db?

    SELECT * FROM wp_posts WHERE post_content LIKE '%MAZDA%'

    Does that return a result?

    Much warmth,

    planetthoughtful

    I’ll try it a bit later and let you know.

    Mazda is only an example. It does not search for many other words also.

    I don’t think it is good when it searches successfully for one word and ignores another. Don’t you think so? 🙁

    I agree it would be frustrating, but I’m not sure it’s specifically a WordPress issue. I can’t see why WP would successfully execute some searches, and not others.

    I may be being utterly ignorant with this question, but are any of the other words you have problems with Russian words (ie using the Russian alphabet) or are they all English words (ie using the English alphabet, as in “MAZDA”)?

    Much warmth,

    planetthoughtful

    Search for “audi” works but now I’m not sure it finds all the appearances of this word in my articles. One of the articles found with audi query has also word Lexus in it but if I search for Lexus or lexus it returns only one articles and it is not the one that contains audi along with Lexus.

    It also fails to search for some digits. It would take long to find the correct article but I am absolutely sure that there’s one with 929 in its text. Search returns nothing.

    Some searches with russian words that definetely exist in articles on my site are also return nothing, but I can’t remember those words right now. 🙁

    (Sorry for my bad English)

    Opel is also ignored. It seems WP hates cars! 🙂

    phpMyAdmin 2.3.3pl1 finds MAZDA and other unsearcheable words with no problem.

    i read somewhere about it only searching for titles.. and not in the body of the post. if you have opel/mazda as post title, does it find them?

    i’ve also read general problems with WP’s search function. it does not search pages, and it’s not very relevant. maybe try either of two plugins:

    http://www.semiologic.com/projects/search-reloaded/

    http://randomfrequency.net/wordpress/search-pages/

    … at least to see if your problem persists!

    alex-and-r

    (@alex-and-r)

    I’ve got the same problem, but with WP 2.0.1.

    I’ve got a blog in russian and native WP search doesn’t work properly when i try to search for words in russian. When i search for words in english (like “web”) the search operates quite well, but with russian words it fails – it simply displays all the posts.

    I installed above mentioned plugin, Search Reloaded, but that didn’t help me.

    May be the problem is in encodings? My blog is in UTF and mysql database which i use for wp is in WIN1251. So may be i need to encode the search terms to WIN from UTF before querying the database?
    If so, can someone point me to the place in code where i need to do it?

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘WP1.5.2 thinks it’s searching but actually it’s not. Search does NOT work…’ is closed to new replies.