![]() Topic awaiting preservation: MySQL: Boolean MATCH problems...  | 
  |
|---|---|
| Author | Thread | 
| 
       Bipolar (III) Inmate From: f(x)  | 
    
       
  posted 09-16-2005 02:12
      
      Ok... I'll say now that I understand how MATCH works in MySQL (that includes that MATCH doesn't accept 3 letter words by default), I've done my share of research on it. But my problem is that it wont match some words. I try the words not working with a LIKE and get the results. I use MATCH because it's not only faster but easier (in boolean mode) IMO. code: SELECT * FROM `mytable`
 WHERE MATCH(`mytable`.`thingname`) AGAINST('+"orange"' IN BOOLEAN MODE)
SELECT * FROM `mytable`
 WHERE `mytable`.`thingname` LIKE '%orange%'
  | 
  
| 
       Paranoid (IV) Mad Scientist with Finglongers From: Germany  | 
    
       
  posted 09-16-2005 09:33
      
      probably because of the '50%-rule'.  | 
  
| 
       Bipolar (III) Inmate From: f(x)  | 
    
       
  posted 09-16-2005 17:17
      
      
     | 
  
| 
       Paranoid (IV) Mad Scientist with Finglongers From: Germany  | 
    
       
  posted 09-17-2005 00:18
      
      ok...  | 
  
| 
       Bipolar (III) Inmate From: f(x)  | 
    
       
  posted 09-17-2005 02:32
      
      
     | 
  
| 
       Maniac (V) Mad Scientist From: 100101010011 <-- right about here  | 
    
       
  posted 09-17-2005 05:51
      
      First why are you using boolean mode with no -something?  That just slows the search down.   | 
  
| 
       Bipolar (III) Inmate From: f(x)  | 
    
       
  posted 09-18-2005 15:00
      
      
     |