Re: REGEXP word boundary problem

2005-03-24 Thread Jigal van Hemert
From: "Paul Groves" > The main con for me is that it won't index words of three characters > (which I think I will in my queries) or less unless I change the default > server setting (can you do this on a by database basis?), which may be > possible, but it depends where its finally hosted... You

Re: REGEXP word boundary problem

2005-03-24 Thread Paul Groves
Jigal van Hemert wrote: From: "Paul Groves" BTW is there anyway to speed up the search, as I think this may be pretty slow (there will be about 25000 records in the real database...) e.g. maybe by doing a LIKE match for "%elbow%" first then doing a REGEXP within that? Not sure how one would code th

Re: REGEXP word boundary problem

2005-03-24 Thread Usha
t; <[EMAIL PROTECTED]> To: "Jigal van Hemert" <[EMAIL PROTECTED]> Cc: "Paul Groves" <[EMAIL PROTECTED]>; Sent: Thursday, March 24, 2005 5:47 PM Subject: Re: REGEXP word boundary problem > Jigal van Hemert wrote: > > From: "Paul Groves"

Re: REGEXP word boundary problem

2005-03-24 Thread Jigal van Hemert
From: "Paul Groves" > BTW is there anyway to speed up the search, as I think this may be > pretty slow (there will be about 25000 records in the real database...) > e.g. maybe by doing a LIKE match for "%elbow%" first then doing a REGEXP > within that? Not sure how one would code the SQL for that,

Re: REGEXP word boundary problem

2005-03-24 Thread Paul Groves
Paul Groves wrote: Jigal van Hemert wrote: From: "Paul Groves" SELECT * FROM object WHERE description REGEXP '[[:<:]]elbow[[:>:]]'; There are records in the object table that have the following description fields (as test data): elbows ligaments elbowed ligaments My elbow elbow joint Whose elbow is

Re: REGEXP word boundary problem

2005-03-24 Thread Paul Groves
Jigal van Hemert wrote: From: "Paul Groves" SELECT * FROM object WHERE description REGEXP '[[:<:]]elbow[[:>:]]'; There are records in the object table that have the following description fields (as test data): elbows ligaments elbowed ligaments My elbow elbow joint Whose elbow is that The query sho

Re: REGEXP word boundary problem

2005-03-24 Thread Jigal van Hemert
From: "Paul Groves" > SELECT * FROM object WHERE description REGEXP '[[:<:]]elbow[[:>:]]'; > > There are records in the object table that have the following > description fields (as test data): > > elbows ligaments > elbowed ligaments > My elbow > elbow joint > Whose elbow is that > > The query sho

REGEXP word boundary problem

2005-03-24 Thread Paul Groves
I'm having a problem with REGEXP and word boundaries, my query does not throw an errow, but isn't giving me any results e.g. my query is: SELECT * FROM object WHERE description REGEXP '[[:<:]]elbow[[:>:]]'; There are records in the object table that have the following description fields (as test