search plugin does not work

Creating and modifying plugins.
Post Reply
bibi
Regular
Posts: 7
Joined: Tue Jul 11, 2006 11:14 pm

search plugin does not work

Post by bibi »

Hi Forum, thanks for the great software Garvin,


but nevertheless I´ve got problems with this plugin. Maybe I´m stupid. Sometimes the search engine finds a word another time not. Do I have to index somewhere?
Maybe one of you can help me!!! :shock:

THANKS @ all
judebert
Regular
Posts: 2478
Joined: Sat Oct 15, 2005 6:57 am
Location: Orlando, FL
Contact:

Post by judebert »

It just uses the SQL fulltext search, so should always find (or not) the same word. Sometimes you have to enter a few entries before it starts working. And it usually only searches the entries, not the users' comments, unless you've installed a plugin.

Could you be a bit more specific? Perhaps with a link we could check it out ourselves, too.
Judebert
---
Website | Wishlist | PayPal
bibi
Regular
Posts: 7
Joined: Tue Jul 11, 2006 11:14 pm

Post by bibi »

Thanks judebert for your very fast answer!


I think it works now. But the engine can´t find some words in the entries. That´s why I thougt it does not work. But why some words and others not??????


But maybe you´re right and I need some more articles...
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

Hi!

That would depend on the word you search for and maybe the way/amount of your entries. What word are you searching for, and what is your URL?

MySQL regards a keyword as "bad" if it occurs more than a specific threshold of coverage. If ever 2nd word you type is "google", then mysql will blacklist "google" because it would return every entry then.

Best regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
bibi
Regular
Posts: 7
Joined: Tue Jul 11, 2006 11:14 pm

Post by bibi »

Hi Garvin and thank you,


can I see the blacklist on MySql Database? The word I´m searching for you can find in mostly every entry. But I couldn´t find this word since installation. (that means, no coverage since the first time). The engine works good but the most important keywords (85% of the entries) don´t occure :(

Maybe there is a way to delete this wicked blacklist on MySql?!
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

Hi!

The default stopwords of MySQL are:

http://dev.mysql.com/tech-resources/art ... ealed.html

And the rest of the blacklisting depends on the words you use in your article. For some people it can be "google" for others "serendipity". That always depends on the amount of keyword usage/coverage.

If you say the word you search for can be found in every entry, then exactly this blacklisting works.

Think about it in terms of MySQL: If a keyword is found in every article, is it really a keyword? Your visitors could then read every article, they would not need to search for it. :-)

Best regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
bibi
Regular
Posts: 7
Joined: Tue Jul 11, 2006 11:14 pm

Post by bibi »

You´re totally right Garvin!


If this word occurs in all entries, it won´t be necessary to search for... :oops:

Sometimes I´ve to think before posting...



Best wishes
bibi
Post Reply