![]() |
yes... if it take more then 30-40 minutes, it is better to drop fulltext index, do flush, repair table, optimise table and after it try to create index again.
PS on one my friend's forum with ~1.6mln posts it took 28 minutes to create index :) |
Took me 9 hours and 30 minutes to index.
Now I can't post or delete threads :( |
Btw, was reindexing through a mysql shell prompt not vbulletin.
|
then what error message you have when you "can't post or delete threads"?
and i still think that 9 hours is not normal... and still recommend to try again ALTER TABLE post DROP INDEX pagetext after it ALTER TABLE post DROP INDEX title after it FLUSH TABLE post after it REPAIR TABLE post after it ALTER TABLE post ADD FULLTEXT (title) after it ALTER TABLE post ADD FULLTEXT (pagetext) and after it OPTIMIZE TABLE post Nearly sure that it must take less then hour summary :) |
Running a dedicated server only hosting the forum, P4 2.4ghz 1.5 gigs RAM, 1.3 million posts.
Right now I'm getting ready to revert back to my backed up database. Takes forever to try and drop indexes, and/or repair table. |
hmm question whats in this hack that makes getting unanswered posts impossible
ie this hack should be simple but each time it returns 0 results https://vborg.vbsupport.ru/showthrea...095#post491095 |
Quote:
rikman |
Any other large forums tried this yet? :)
|
Quote:
has it installed i helped with the installation of it and we've not had any problems with it but there is one sacrifice which is similar threads they don't seem to work with this hack |
The "Unanswered Threads" hack doesn't work with it, either, I am told.
|
Quote:
|
And a good job you did. ;)
|
it must start working after fix in latest v.1.9 :)
|
any chance of upgrade instructions ?
|
:)
1. after // code block 5 added by [FullText Search hack] (getting list of posts with match against search phrase) add if (strlen($query) > 0) { 2. before // end of code block 5 added by [FullText Search hack] add } it is all :) |
thanks i didnt fancy rehacking the whole thing
does this now allow unanswered topics mod and similar threads ? |
unanswered topics mod - yes
similar threads - not, but thinking and think that it is near :) |
Quote:
|
ok :) Think that "Similar Threads" works with v.2.0 :)
|
Quote:
but u made a tiny mistake instead of searching for PHP Code:
PHP Code:
|
true... Uploading fixed txt
|
Quote:
|
Ooh... this is so tempting...
|
what does it do exactly and what's the advantage of having this installed?
|
Quote:
i have it installed with similar threads and unanswered posts u can check at my website Quote:
extremely good for large sites it will be standard in vb3.1 but don't know how long that will take and large sites need it now check this link for a better description of its capabilities https://vborg.vbsupport.ru/showthrea...ighlight=mysql |
Quote:
|
Quote:
|
I am running it - small board, but definite performance improvement ...
Plus I just like the fulltext searching bonus! [size]and I'm a sucker for a hack not many have installed ...[/size] |
ok one problem theres an option when u make a new forum where it says do not index posts
traditionally this stops people from searching those forums but with this hack to be able to do that u have to be able to exclude forums from fulltext searching with the same setting reason is because i have the unanswered post hack installed and also the news syndication hack installed which means that all posts in the news area will always be unanswered so i do not want them to be searchable |
Quote:
Tom |
Hello!
Great Hack! We use vb3 gold with about 320.000 posts and I have just installed it. On our Dual AMD MP 2.5 Ghz - the installation (with these DB queries) took about 23 seconds. The search performance is indeed much better now. Thanks! |
Yes.. You are right msimplay. I missed that thing.
Uploading updated zip and to upgrage just change in search.php Code:
//fast list of forums visible and searchable for user Code:
//fast list of forums not visible or searchable for user |
Quote:
i tested with a another account thinking maybe it only applies to not admins but no that doesn't seem to work |
hmm..
You are able to search in that forums typing "Key Words" in field on search page or you can see that forums after clicking some link (like unanswered post hack have)? |
i have a staff forum which has a post called reported in there
i used the nav drop down and typed in report* but it seemed to work on showthread but again not with unanswered posts obviosly normal registered members can't see it due to permissions coz thats a staff forum but what about forums that are not protected by permissions and are still viewable but just don't want them to be searchable for example a test forum where people test signatures avatars bbcode etc just tested again your hack works on showthread advanced search forumdisplay not navbar not unanswered |
Think that I need to think a little :)
But can you please try to replace 2 strings unset ($postQueryLogic); $postQueryLogic = array('post.postid IN(' . $postids . ')'); with one $postQueryLogic[] ='post.postid IN(' . $postids . ')'; and say how it will go? PS using unset because I still trying to give less job to database - sorry :) |
hey sorry for bugging you :p
i have found a new bug when you search this thread it returns results from other threads |
Quote:
|
and how it is now? after v.2.2 changes ?
|
I just installed this hack on vB 3.0.0 gold version. I am running a chinese website. Chinese is multibyte language, and the words are not delimited by space. I thougt by using fulltext search, the searched keyword is matched against the fulltext index directly, so there is no need to build word index on post. Am I correct?
But now I got no search result at all. Can anybody give any hints? Thanks a lot. |
All times are GMT. The time now is 10:24 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|