Home Recording

Go Back   Home Recording > Special Forums > Audiofanzine


        

                                
                                10/30 - [video] Demo Roland TD-20SX
     Audiofanzine Product Product News Product Medias Product Tests Product Articles Product User Reviews Product Classifieds Ads
 
Thread Tools Display Modes
  #1  
Old 01-31-2009
dgatwood's Avatar
dgatwood dgatwood is offline
is out. Leave a message.
 
Join Date: Dec 2004
Location: Sunnyvale, CA
Age: 33
Posts: 5,063
Rep Power: 1043492
dgatwood has a reputation beyond reputedgatwood has a reputation beyond reputedgatwood has a reputation beyond reputedgatwood has a reputation beyond reputedgatwood has a reputation beyond reputedgatwood has a reputation beyond reputedgatwood has a reputation beyond reputedgatwood has a reputation beyond reputedgatwood has a reputation beyond reputedgatwood has a reputation beyond reputedgatwood has a reputation beyond repute
Searching smaller words

The four character lower limit is a real PITA, as most microphones have two-character or three-character names.

WARNING: the index could grow significantly.

WARNING: the tables will be locked during this process, so this will require downtime; I have no idea how long---that depends on how fast the server is and how big the tables are. It might be a good idea to dump the tables first and try it offline on a different machine.

With those warnings in mind, to change the indexing, first make sure the BBS is using MySQL fulltext indexing and not the built-in vBulletin indexing. If it is using the vBulletin searching, that could explain why searches bring the board to its knees....

Once you have switched to use the MySQL indexing (read the vBulletin docs for info), the next step is to tune MySQL appropriately. This is a multi-stage process.

First, in your MySQL configuration file (e.g. my.cnf), add:

[mysqld]
ft_min_word_len=2
Next, restart MySQL.

Next, rebuild the fulltext index for any tables that have them. To do this, for each table, type:

SHOW INDEX FROM table_name;
See http://dev.mysql.com/doc/refman/5.0/en/show-index.html for info.

This should show the indices for that table. For any index of type FULLTEXT, drop the index with:

ALTER TABLE table_name DROP INDEX index_name;
See http://dev.mysql.com/doc/refman/5.0/en/alter-table.html for info.

and recreate it with:

CREATE FULLTEXT INDEX index_name on table_name;
See http://dev.mysql.com/doc/refman/5.0/...ate-index.html for info.
__________________
Quote:
Originally Posted by Obi-Wan
If you mod me down, I will only grow stronger.
 



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump
Google
 

Similar Threads
Thread Thread Starter Forum Replies Last Post
Making an MP3 smaller? elenore19 Newbies 10 03-09-2007 19:09
Smaller speakers these days Kasey Mixing / Mastering 4 09-06-2005 08:09
Comparable to Q10 but smaller jdier Digital Recording & Computers 0 03-29-2005 10:19
Trading rp8's for smaller..... judeholland Other Equipment and Reviews 0 12-15-2004 10:38
smaller amp, suggestions? vaporpark Guitars and Basses 10 04-01-2004 14:04


All times are GMT -7. The time now is 23:17.


Powered by: vBulletin
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Copyright © 1995-2008 Audiofanzine except where noted. All Rights Reserved.