Notices

Improve Search Results and Performance With MySQL Full Text

 
Thread Tools
 
Search this Thread
 
Rate Thread
 
Old 01-05-2012 | 05:30 PM
  #1  
paimon.soror's Avatar
Thread Starter
Registered
iTrader: (15)
 
Joined: Jun 2010
Posts: 7,560
Likes: 27
From: Between Cones
Improve Search Results and Performance With MySQL Full Text

So vBulletin has two options for searching, one is its internal index, and one is a mysql fulltext search. Larger forums MUST use the mysql fulltext search if you want the searching to be effective. By default, vbulletin has its internal search enabled.

Here is a quick rundown of the two:

Fulltext
Pros
Less PHP resources used because the indexing takes place in MySQL.
No need to maintain the postindex and word tables which can take up a lot of space.
Natural Language and Phrase searching is available.
Can Sort by relevancy for better results
Default search in vBulletin's latest versions.
Can support more searches per minute.
Searches can take better advantage of MySQL's query caching.

Cons
Less Flexible Indexing, especially on Shared Servers. Changing parameters requires shutting down MySQL, dropping indexes and rebuilding them.
Fewer control parameters within vBulletin.
Rigid Stopword list as an external file.

vBulletin Builtin Search
Pros
Not reliant on your MySQL version.
Can be easily manipulated in the Admin CP including adding words under the minimum character limit or changing that limit.

Cons
Resource heavy, especially building the index.
Indexing must be done before post is inserted to database and can result in errors on overwhelmed systems.
Search Results can cause database errors if there are too many hits.
Large tables must be maintained manually for proper usage.
No Natural Language or Phrase based searching.
Easy to bring down large boards with multiple searches.

Here is a page that can help set up this search function:
https://www.vbulletin.com/docs/html/main/search_type
Old 01-05-2012 | 05:34 PM
  #2  
alnielsen's Avatar
Registered
iTrader: (4)
 
Joined: Aug 2004
Posts: 12,255
Likes: 7
From: Buddhist Monastery, High Himalaya Mtns. of Tibet
Good luck with that.
Old 01-05-2012 | 06:03 PM
  #3  
paimon.soror's Avatar
Thread Starter
Registered
iTrader: (15)
 
Joined: Jun 2010
Posts: 7,560
Likes: 27
From: Between Cones
Not much any general user can do .... up to your site administrator to take care of it.
Old 01-05-2012 | 06:34 PM
  #4  
zoom44's Avatar
Administrator
 
Joined: Jul 2002
Posts: 21,958
Likes: 115
From: portland oregon
Attached Thumbnails Improve Search Results and Performance With MySQL Full Text-search.png  
Old 01-05-2012 | 06:41 PM
  #5  
paimon.soror's Avatar
Thread Starter
Registered
iTrader: (15)
 
Joined: Jun 2010
Posts: 7,560
Likes: 27
From: Between Cones
Oh sweet, thanks for checking. Just see so many people bitching about search not being accurate that I have been digging around to find any way to help these people out.
Old 01-05-2012 | 06:42 PM
  #6  
zoom44's Avatar
Administrator
 
Joined: Jul 2002
Posts: 21,958
Likes: 115
From: portland oregon
its been in this mode for at least 5-6 years
Old 01-06-2012 | 10:54 AM
  #7  
TeamRX8's Avatar
Registered
iTrader: (25)
 
Joined: Apr 2005
Posts: 26,866
Likes: 2,083
If I had access to the closed "DIY: How to Search" sticky thread I could provide a number of helpful tips.


Of course the biggest problem of all has no real solution; none of the clueless noobettes on this site would any more look at it than any other sticky or information thread here.


Which BTW the DIY area needs another technical question thread flushing ...


.

Last edited by TeamRX8; 01-06-2012 at 03:48 PM.
Old 01-09-2012 | 04:56 AM
  #8  
TeamRX8's Avatar
Registered
iTrader: (25)
 
Joined: Apr 2005
Posts: 26,866
Likes: 2,083
apparently nobody is home ....
Old 01-13-2012 | 06:32 AM
  #9  
TeamRX8's Avatar
Registered
iTrader: (25)
 
Joined: Apr 2005
Posts: 26,866
Likes: 2,083
yeah, this web site needs more in absentia honorary moderators ...
 
Related Topics
Thread
Thread Starter
Forum
Replies
Last Post
ktec
Series I Wheels, Tires, Brakes & Suspension
6
06-26-2021 10:18 AM
Dokuji
Series I Trouble Shooting
8
11-01-2016 02:51 PM
AussieGray
RX-8's For Sale/Wanted
0
07-16-2015 03:58 AM



You have already rated this thread Rating: Thread Rating: 0 votes,  average.

Quick Reply: Improve Search Results and Performance With MySQL Full Text



All times are GMT -5. The time now is 05:53 PM.