MitsuStyle MitsuStyle

Go Back   MitsuStyle > The Homefront! > Site News & Updates

Reply
 
Thread Tools Display Modes
Old 09-25-2007   #1
JET
Is funding Exxon.
 
JET's Avatar
 

Join Date: Oct 2003
Location: Ham Lake
Drives: like a bat outta hell!
Posts: 7,983
Send a message via AIM to JET Send a message via Yahoo to JET
Re: Site Problems??

How about making the search so you can use 3 letter words? There are a lot of them that would be helpful, E85, Evo, etc.
__________________
Is burning corn and stayin' warm!

My motorcycle is stock and reliable, my Talon is neither!
JET is offline   Reply With Quote
Old 09-25-2007   #2
scheides
flips McGee
 
scheides's Avatar
Re: Site Problems??

Quote:
Originally Posted by JET View Post
How about making the search so you can use 3 letter words? There are a lot of them that would be helpful, E85, Evo, etc.
Good idea! I lowered it to 3. I can do 2 as well, if someone can think of a good reason why?
scheides is offline   Reply With Quote
Old 09-25-2007   #3
asshanson
immune from paybans
 
asshanson's Avatar
 

Join Date: Oct 2005
Location: West Des Moines
Drives: poorly
Posts: 4,358
Send a message via AIM to asshanson
Re: Site Problems??

Quote:
Originally Posted by scheides View Post
Good idea! I lowered it to 3. I can do 2 as well, if someone can think of a good reason why?
Isn't that a change in the MySQL database settings for full-text searches? Does that require you to rebuild the indexes or is it automatic?

If you lower it to 2 the index will get a lot larger, probably not necessary.


Edit: After one search it's very apparent, this is only going to take effect on new posts unless you manually tell it to rebuild the search indexes.

Also, please automatically include a star after each search word. Otherwise I have to remember to type in turbo* oxygen* in my searches if I wanted to find posts with turbos and some word form of oxygen. It looks like it's already splitting up the search by words so it shouldn't be too hard to add them: ... AGAINST ('+$word1* +$word2* ...' IN BOOLEAN MODE) ...

Last edited by asshanson; 09-25-2007 at 03:50 PM..
asshanson is offline   Reply With Quote
Old 09-26-2007   #4
scheides
flips McGee
 
scheides's Avatar
Re: Site Problems??

Quote:
Originally Posted by slowboy View Post
Isn't that a change in the MySQL database settings for full-text searches? Does that require you to rebuild the indexes or is it automatic?

If you lower it to 2 the index will get a lot larger, probably not necessary.


Edit: After one search it's very apparent, this is only going to take effect on new posts unless you manually tell it to rebuild the search indexes.

Also, please automatically include a star after each search word. Otherwise I have to remember to type in turbo* oxygen* in my searches if I wanted to find posts with turbos and some word form of oxygen. It looks like it's already splitting up the search by words so it shouldn't be too hard to add them: ... AGAINST ('+$word1* +$word2* ...' IN BOOLEAN MODE) ...
Hit me up with a link or two on this info, mostly because I can't be bothered to search myself.
scheides is offline   Reply With Quote
Old 09-26-2007   #5
asshanson
immune from paybans
 
asshanson's Avatar
 

Join Date: Oct 2005
Location: West Des Moines
Drives: poorly
Posts: 4,358
Send a message via AIM to asshanson
Re: Site Problems??

Edit: guess I misunderstood.

To rebuild an index: REPAIR TABLE tbl_name QUICK;
You'll have to do this for every table with a full-text index that you're searching.

As for adding a * to searches, you'll have to look at vBulletin code to see wherever it's doing its searches. Look for "in boolean mode" or something like that. See http://dev.mysql.com/doc/refman/5.0/...t-boolean.html for the SQL syntax for MySQL.

Last edited by asshanson; 09-26-2007 at 12:39 PM..
asshanson is offline   Reply With Quote
Reply


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



All times are GMT -5. The time now is 06:56 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.