Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Problems with search
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo Forums Feedback
View previous topic :: View next topic  
Author Message
fghellar
Bodhisattva
Bodhisattva


Joined: 10 Apr 2002
Posts: 856
Location: Porto Alegre, BR

PostPosted: Fri Apr 19, 2002 7:07 pm    Post subject: Problems with search Reply with quote

If I go to the search section of the forum and type "kde", it won't find any threads. It won't find "apm" either. Is it set to ignore words with less than 4 characters?
_________________
| www.gentoo.org | www.tldp.org | www.google.com |
Back to top
View user's profile Send private message
Nitro
Bodhisattva
Bodhisattva


Joined: 08 Apr 2002
Posts: 661
Location: San Francisco

PostPosted: Fri Apr 19, 2002 8:45 pm    Post subject: Re: Problems with search Reply with quote

fghellar wrote:
If I go to the search section of the forum and type "kde", it won't find any threads. It won't find "apm" either. Is it set to ignore words with less than 4 characters?


I never noticed that, it appears that you are correct. I tried "*kde*" and it listed a bunch of threads. I guess it makes sense though, then people can't easily search for the word 'the' or 'for'.
_________________
- Kyle Manna

Please, please SEARCH before posting.

There are three kinds of people in the world: those who can count, and those who can't.
Back to top
View user's profile Send private message
fghellar
Bodhisattva
Bodhisattva


Joined: 10 Apr 2002
Posts: 856
Location: Porto Alegre, BR

PostPosted: Fri Apr 19, 2002 8:57 pm    Post subject: Reply with quote

Sure, but then they'll miss apm, kde, x11... Maybe it'd be good to add some instructions telling them to use *kde* instead...
_________________
| www.gentoo.org | www.tldp.org | www.google.com |
Back to top
View user's profile Send private message
Nitro
Bodhisattva
Bodhisattva


Joined: 08 Apr 2002
Posts: 661
Location: San Francisco

PostPosted: Sat Apr 20, 2002 2:42 am    Post subject: Reply with quote

After looking at the script, the search was not limited by the length, rather it was the way the SQL query was constructed. I fixed it, if you get a chance, test it a little.

Thanks for bringing this to my attention.
_________________
- Kyle Manna

Please, please SEARCH before posting.

There are three kinds of people in the world: those who can count, and those who can't.
Back to top
View user's profile Send private message
fghellar
Bodhisattva
Bodhisattva


Joined: 10 Apr 2002
Posts: 856
Location: Porto Alegre, BR

PostPosted: Sat Apr 20, 2002 3:03 am    Post subject: Reply with quote

Yes, it's better now... But there's still something strange there. If you search for "kde", you'll see that the topic QT, KDE Library Versions gets listed, but if you search for "qt", it doesn't, even with the option "Search topic title and message text" checked.
_________________
| www.gentoo.org | www.tldp.org | www.google.com |
Back to top
View user's profile Send private message
fghellar
Bodhisattva
Bodhisattva


Joined: 10 Apr 2002
Posts: 856
Location: Porto Alegre, BR

PostPosted: Sun Apr 21, 2002 5:07 am    Post subject: Reply with quote

It won't find "fhs" too, although I'm aware of at least two posts containing that word:
https://forums.gentoo.org/viewtopic.php?t=539&highlight=fhs
https://forums.gentoo.org/viewtopic.php?t=255&highlight=fhs
_________________
| www.gentoo.org | www.tldp.org | www.google.com |
Back to top
View user's profile Send private message
Nitro
Bodhisattva
Bodhisattva


Joined: 08 Apr 2002
Posts: 661
Location: San Francisco

PostPosted: Sat Apr 27, 2002 8:25 pm    Post subject: Reply with quote

fghellar, you are right about the search. The reason it acts like this is because everytime someone posts a message, all the words are indexed in a table with the corresponding message id and some other stuff. I don't know how efficent it would be to index the 2 and 3 letter words too. I see a need for it, but it wouldn't work well with the way the search feature is setup now. I guess that for the common posts we just need to send people to links that we know already exist.

The reason the kde search worked above is because stuff like kde2, kde3, kdebase, kdeinit, and other similar words are in the index. If someone started a topic and only said "kde" in it, then we would be unable to search for it.

Hopefully down the road the main phpbb developers will design a new way to search, because this would kind of be way over my head. Unless someone who understands PHP and MySQL would be interested in working with me.....
_________________
- Kyle Manna

Please, please SEARCH before posting.

There are three kinds of people in the world: those who can count, and those who can't.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo Forums Feedback All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum