Search does not work properly! Well, and now what ?

Hi,

On the search page http://forum.openstreetmap.org/search.php
there is a note “Search does not work properly.”

That’s nice because I was wondering why I was getting only few results
on a common search.

What about fixing the search ?

If help is needed I would love to help to get this fixed!

Lixus

You are right, it is a pain, I know. But the problem lies very deep and is not automatically correctable (afaik anyway): http://forum.openstreetmap.org/viewtopic.php?pid=37967#p37967

There are some russian posts that are not converted correctly and that borks the search. I’m slowly crawling through the problems and manually copy the problematic posts from the old forum back over the posts in the new forum.

Thanks Lambertus.

Sounds like a lot of work. If it is an mysql db behind I think it would be possible
to dump the database into a text file, use iconv to convert it to UTF-8.
and probably some database colums have to be altered as well to UTF-8.

In the meanwhile google can help to workaround (hm, google rules the world):

http://www.google.de/search?hl=en&q=foobar+site%3Aforum.openstreetmap.org&btnG=Search

I’ve already done this and even wrote an extensive script to do this, but even iconv cannot automatically fix posts with e.g. mixed latin1 and utf-8 charactersets. Posts consisted of a mix of charactersets and encodings because the old forum did not support utf-8 properly, the new forum however does.

Yes, the google search should work for this site.

It was the FluxBB dev team that ‘solved’ this. It was a very sophisticated fix: it just ignore the errors now :sunglasses: