Re: Contains
- From: "Daniel Crichton" <msnews@xxxxxxxxxxxxxxxx>
- Date: Wed, 5 Jul 2006 17:24:03 +0100
Rick wrote on Wed, 5 Jul 2006 11:14:23 -0500:
We have a table with Full Text Index on a name column, running the
following query returns different results than expected.
select * from tablename where contains(membername, '"JOHN E SMITH"')
Data returned is: JOHN E SMITH and JOHN L SMITH.
The E is ignored as it's in the noise word file.
Using wildcards return no data:
select * from tablename where contains(membername, '"*JOHN E SMITH*"')
*JOHN is not valid syntax - a * may only be used at the end of terms. There
is no "suffix" searching in FTS.
It seems the noise word file has the entire alphabet in it by single
letter. This seems to be an issue with a middle initial in the name.
Does anyone know the best way to handle this?
You can empty the noise word file for your catalog (leave just a space in
the file), and then run a full population.
Dan
.
- Follow-Ups:
- Re: Contains
- From: Rick Femmer
- Re: Contains
- References:
- Contains
- From: Rick Femmer
- Contains
- Prev by Date: Contains
- Next by Date: Contains query results
- Previous by thread: Contains
- Next by thread: Re: Contains
- Index(es):
Relevant Pages
|