The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Howto : Enable FullText Searching in vBulletin 3.0.2/3
This feature is not offcialy supported at this time, so enabling this is like hacking your forums You'll need to shut your boards down for security reasons and enter debug mode, or enable debug mode for yourself only. Once done, go into the vBulletin AdminCP > and select vBulletin Options. You will see an area called Version Info and Other Untouchables At the bottom you will see Fulltext Search Run the two querys it says to, adjust for table prefixes. Then click on yes and hit save. This feature is not offcialy supported at this time, so enabling this is like hacking your forums |
#92
|
||||
|
||||
Quote:
|
#93
|
|||
|
|||
Quote:
Next problem... I'm having problems getting one of the ALTER commands to work. After failing with the "post" one a few times, I tried the "thread" one. It completed successfully in just over 4 seconds. I'm running these queries via SSH. I've run the "post" ALTER command a few times and it's never able to finish. I've repaired the table (no errors), optimized the table and flushed the index. It still won't finish. I might just be impatient, but I let it go for an hour and it hadn't finished. No error message, just no result. The thread table has about 78,000 records in it, the post table has about 1.3 million records in it. The other strange thing is that my server load while it's working is almost nothing. It's at most 0.05. I would expect that if it was working that hard on the post index it would be putting more strain on the server. So, the questions: - Is a one hour wait for this a problem or am I just impatient? Given that the thread table takes 4 seconds and the post table has about 15 times more records, it should only take about 60 seconds, right? - Is there a way to simplify the query into a few separate ones so that I can run them one at a time? - Anything else I can do to optimize the table so this might run faster or finish? Thanks, Mickey |
#94
|
||||
|
||||
ALTER commands usualy take a while, and I am not running this on my own board anymore so i cannot comment too much on it, I hope someone who has abit more knowleged about this can respond.
|
#95
|
|||
|
|||
In the hopes of speeding it up, I've cut the post ALTER command down a bit. Instead of:
ALTER TABLE post ADD FULLTEXT INDEX (title,pagetext) I'm just doing ALTER TABLE post ADD FULLTEXT INDEX (title) Assuming it works, I'll do the pagetext as a separate query as well. Right now we're at 40 minutes and no sign of finishing. The only reason I'm concerned about it taking so long is that the thread table completed so quickly. I'll let it go a while longer and see what happens... Mickey |
#96
|
||||
|
||||
The post talbe is quite abit larger... have you configured mysql's setting since installing mysql? an unoptmized my.cnf/ini can be horrid for running larger querys like the alter querys.
|
#97
|
|||
|
|||
Quote:
|
#98
|
|||
|
|||
Ok, I did a bit more digging and I might have found part of the problem. I was looking at the table in PHPMyAdmin, and found that it has a ton of indexes on it. Here is what it has...
Code:
Keyname Type Cardinality Action Field PRIMARY PRIMARY 1526312 Drop Edit postid dateline INDEX 1526312 Drop Edit dateline iconid INDEX 15 Drop Edit iconid userid INDEX 11924 Drop Edit userid threadid INDEX 508770 Drop Edit threadid userid title FULLTEXT 508770 Drop Edit title pagetext title_2 FULLTEXT 1526312 Drop Edit title pagetext title_3 FULLTEXT 508770 Drop Edit title pagetext title_4 FULLTEXT 1526312 Drop Edit title pagetext title_5 FULLTEXT 508770 Drop Edit title pagetext title_6 FULLTEXT 1526312 Drop Edit title pagetext title_7 FULLTEXT 508770 Drop Edit title |
#99
|
|||
|
|||
Quote:
|
#100
|
|||
|
|||
Quote:
Congrats to all for their hard work, it is VERY appreciated. |
#101
|
|||
|
|||
Does anyone know... are Similar Threads driven by the fulltext search too?
i.e. If I purge my word index tables, will I break anything now that most of this appears to be working? |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|