Re: "CONTAINS" ignores "fahrenheit"?
From: John Kane (jt-kane_at_comcast.net)
Date: 08/05/04
- Next message: Griff: "Restoring database - full text catalog on wrong disk"
- Previous message: Danny: "Re: "CONTAINS" ignores "fahrenheit"?"
- In reply to: Danny: "Re: "CONTAINS" ignores "fahrenheit"?"
- Next in thread: Hilary Cotter: "Re: "CONTAINS" ignores "fahrenheit"?"
- Reply: Hilary Cotter: "Re: "CONTAINS" ignores "fahrenheit"?"
- Reply: DC: "Re: "CONTAINS" ignores "fahrenheit"?"
- Reply: DC: "Re: "CONTAINS" ignores "fahrenheit"?"
- Messages sorted by: [ date ] [ thread ]
Date: Wed, 4 Aug 2004 23:16:46 -0700
Hi Danny,
Hmm... that someone would be me? <G>
Ok, you need to provide some additional info, specifically, run and post the
full output of the following SQL script:
use <your_database_name_here>
go
SELECT @@language
SELECT @@version
-- Note, you may need to set advance options on
sp_configure 'default full-text language'
EXEC sp_help_fulltext_catalogs
EXEC sp_help_fulltext_tables
EXEC sp_help_fulltext_columns
EXEC sp_help tblArticle
go
Depending upon the language (the FULLTEXT_LANGUAGE column from
sp_help_fulltext_columns) of the wordbreaker you are using, have you removed
all single digits from the noise.<language> (noise.enu = US_English) file
under the folder: \FTDATA\SQLServer\Config ? If not, then you should and
then run a Full Population. Note, you will need to stop the "Microsoft
Search" service first in order to save the changes to the noise.* files.
Additionally, the preceding asterisk "*" in your query ' "*9/11*" ' is
always ignored and therefore adds no value to your query. SQL FTS support
only "word prefix" wildcard searches with the asterisk and not "word
suffix", for example ' "*og" ' would find dog and log, but these "words"
are not related. However, using a "word prefix" search such as ' "9/11*" '
returns rows that contain "9/11", or ' "fish*" ' will return "fish",
"fishes" or "fishing" as these words are inflectionally related...
Regards,
John
"Danny" <daniel_c@NOSPAMmyrealbox.com> wrote in message
news:uoE953peEHA.2440@tk2msftngp13.phx.gbl...
> Correction:
>
> > More interesting is if I run this SQL Statement:
> >
> > SELECT *
> > FROM tblArticle
> > WHERE CONTAINS(article_text, ' "*9/11*" ')
> >
> > it returned me records that contains "9/11" but not "Fahrenheit 9/11",
> > for example:
> > it returns -> article_text: ... in 9/11 event...
> > it doesn't return -> article_text: ... Michael Moore who wrote
Fahrenheit
> > 9/11 ...
> >
>
>
- Next message: Griff: "Restoring database - full text catalog on wrong disk"
- Previous message: Danny: "Re: "CONTAINS" ignores "fahrenheit"?"
- In reply to: Danny: "Re: "CONTAINS" ignores "fahrenheit"?"
- Next in thread: Hilary Cotter: "Re: "CONTAINS" ignores "fahrenheit"?"
- Reply: Hilary Cotter: "Re: "CONTAINS" ignores "fahrenheit"?"
- Reply: DC: "Re: "CONTAINS" ignores "fahrenheit"?"
- Reply: DC: "Re: "CONTAINS" ignores "fahrenheit"?"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|