The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#11
|
|||
|
|||
From the mysql manual:
Quote:
I agree that it's strange that "value" is on that list of words. |
#12
|
|||
|
|||
Thanks, you're a genius, indeed! This must be the source for the mistake but it looks like I would need to recompile MySQL to effectively change the stopwords list!?
I cannot do this on my system, unfortunately, so the mistake stays unsolved. :| Oh no, I'm wrong maybe it works without, I'll try it later ... |
#13
|
|||
|
|||
No, a genius would have posted that back in post #3...
|
#14
|
|||
|
|||
Damn MySQL, the current version of stopwords is built-in on my system:
ft stopword file (built-in) So, no chance to change this without recompiling. :| But at least now we know why it doesn't work ... |
#15
|
||||
|
||||
You don't need to recompile:
Quote:
|
#16
|
|||
|
|||
Okay, please tell my how I can change the contents of a built-in stopword file without recompiling.
|
#17
|
||||
|
||||
OK, admittedly, I've never done this, but I can read the page that on the mysql site. It says:
Quote:
|
#18
|
|||
|
|||
Is it possible that "built-in" means that it's using the default set, and to customize it you are meant to replace "built-in" with the name of a file?
ETA: OK, it looks like to change it you can put this in the my.ini file: Code:
[mysqld] ft_stopword_file="" (or put a file name in the quotes if you want to provide an alternate list of words). I haven't tried to see how it affects searches but it changes what is reported as the value of that variable. I guess the next question is how you go about rebuilding the indexes. ETA: I tried it on my Windows system at home, maybe it's different on a Linux server. |
#19
|
|||
|
|||
Oh no, I totally misunderstood "built-in", you're right.
I put "ft_stopword_file = ''" into my.cnf and it seems to work though it's not quite easy to rebuild the index on a huge MySQL table. But I'll manage this somehow later. Thanks a lot for your help, you made my day! |
#20
|
|||
|
|||
You probably realize this already, but just as a reminder: if you use an alternate list or no list in MySQL, you might want to change that searchwords.php to reflect it so that users will get the correct message.
In retrospect, probably the reason you were so confused is because if a search word appears in the searchwords.php file, the user will get a message that says "The following words are either very common, too long, or too short and were not included in your search :". But since your vbulletin had a list of German words, you probably never saw that message. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|