The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#431
|
||||
|
||||
Quote:
|
#432
|
|||
|
|||
Quote:
What Sphinx does is run an indexer, which pulls the data from the database and indexes it in a file on the hard drive. So when you search, you access these files. It doesn't tie up the database and is much faster and less resource intensive. The catch is you need to keep updating the files on a regular basis (usually with an automted script running ever 20 minutes or so). So, from vbulletin's side, you need to modify vb's search.php file, so instead of asking MySQL for search results, it asks Sphinx. The results are then sent back to VB and displayed just like you are used to. arn |
#433
|
||||
|
||||
Quote:
I did try to skim through most of this very long thread but the original post is gone and some of the thread is sort of confusing to me. So, can you or anyone else tell me if this is a good, stable solution that would be fairly easy for implement? For the updating that needs to be done every 20 minutes or so, is that done by cron through vbulletin? Or do you enable it somewhere else? And, lastly, does this updating bog the server down? Every 20 minutes seems like a lot of updating but I guess it wouldn't matter if it's not that server intensive. I'm just trying to figure out a solution that will work for us as we grow. While we're on this subject though, is the new posts search function as server intensive as normal searches are? Nearly everyone who uses our site uses the new posts feature, so we've got no less than 100 people clicking new posts at the same time, over and over and over again. I was just wondering if this is the same as normal search or if this is something entirely different. Thank you so much for your help. |
#434
|
|||
|
|||
Quote:
Sphinx itself needs to compiled/installed. the config file need to be modified. cron jobs added etc... all doable, but not entirely straightforward esp if you have limited experience with it. myself included, it took me a while to stumble through it myself. All the information is best summarized in these posts: https://vborg.vbsupport.ru/showpost....&postcount=387 https://vborg.vbsupport.ru/showpost....&postcount=445 https://vborg.vbsupport.ru/showpost....&postcount=450 It does appear to be a stable solution and works very well as you can see. The New Posts search does not appear as intensive and mine is still running through my regular mysql search and doing fine. arn |
#435
|
||||
|
||||
Quote:
Basically turned a struggling site into a quick one. :up: |
#436
|
||||
|
||||
I just deleted the fulltext indexes from post and thread and got the following error when undeleting a thread:
Quote:
(I recreated the index for now) |
#437
|
|||
|
|||
Most likely something to do with Similar Threads. You can try disabling this in your vBulletin Options.
|
#438
|
||||
|
||||
If it is similar threads and I want to keep the functionality, is there a work around?
|
#439
|
|||
|
|||
Then you shold not remove the index.
|
#440
|
|||
|
|||
I suppose this answers a question I had about similar threads. I guess similar threads uses full text search. Anyone interested in hacking it to use sphix?
arn |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|