LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 10-11-2006, 01:25 PM   #1
MicahCarrick
Member
 
Registered: Jul 2004
Distribution: Fedora
Posts: 241

Rep: Reputation: 31
MySQL Fulltext search hyphen workaround using charsets


Hey,

I have a server running FreeBSD with MySQL 4.0.17. This server is hosting a website in which I'm using a script utilizing MySQL's FULL-TEXT indexing. The problem, is that this website has numerous part numbers containing a hyphen and the FULL-TEXT search breaks words at the hyphen. I need it to treat hyphens as a alphanum character and recompilation is not an option. I was hoping I could modify a charset file as mentioned in the MySQL manual, however, in the /usr/local/share/mysql/charsets/ directory there are no XML files. There are .conf file which contain tables. I don't think this is what fulltext is using and not what the manual is refering to. Is this because the MySQL I'm running is so old?

- Micah
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
perl: what does the hyphen in function call params mean? johnMG Programming 2 08-19-2005 04:17 PM
charsets nadine.mauch Programming 7 05-17-2005 05:00 AM
multiple search on mysql gmarais Programming 3 03-10-2004 08:59 AM
mySQL LIKE search is case sensitive? icepig Linux - Software 4 11-14-2003 04:29 PM
search for data in MySQL between two times. rhuser Programming 3 03-14-2003 12:32 AM


All times are GMT -5. The time now is 01:42 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration