Re: . and / are stopwords?
Hi Pekka,
An unanswered post from 2005 eh? Well, here is an answer anyway:
With MySQL FULLTEXT search as it is currently implemented you can't match non-alphanumeric characters such as '/'. The indexer unfortunately just ingnores almost all punctuation.
The only viable solution I can think of is to create an extra column in your database containing a copy of all the text you want to search (or possibly just the special numbers that aren't being indexed) and then encode the special characters in some custom sort of way using normal alphanumeric characters. So, for example, you might replace all /'s with an 'a' or and '_' (underscores are indexed) so that you would have '1_100' instead of '1/100' in your database. When you run a search just transparentely replace all /'s with _'s and presto, your search wil work.
So more work on your part - but it is atleast a solution.
Best,
Jesse Morrow
Subject
Views
Written By
Posted
3944
August 23, 2005 04:05PM
Re: . and / are stopwords?
2895
March 30, 2007 09:14PM
Sorry, you can't reply to this topic. It has been closed.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion
of Oracle or any other party.