PDA

View Full Version : Search Query


trainguy77
Jan 30, 2006, 09:11 PM
When you type in something short like G4 for example it turns nothing up. Why is this? Is G4 considered a common word? I think G4 and G5 should turn up results. There may be a setting for this.

mainstreetmark
Jan 31, 2006, 10:01 AM
Wiki searching has always been really crappy. You have to get the spelling right and you can't use small words.

In your case, I suspect you're running into a limitation with earlier versions of mysql where fulltext searches required a minimum of 4 letters. In building it's index, mysql threw out all 3-letter and below words to reduce the size of the index. The side effect is that "G5" and even "Mac" aren't searchable.

(Now, this is only a theory, as I haven't dived into the wiki code very far. Also, newer versions of mysql fix that issue).