Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Full-Text Search misses last word?

Status
Not open for further replies.

codecontractor

Programmer
Jan 8, 2005
13
US
Does full text indexing not include the last word in a phrase?

I have found that the last word in a field of several sentances is universally missed in my 'contains inflectional forms of...' queries. Is this a known bug, or am I doing something wrong either in my query or my indexing?

Here are some examples:

A search for horsepower finds this record, but a search for graphs does not.
Field Contents said:
How to be sure your horsepower and shaft speed are matched with prop diameter and blade area to get the most power. 4 pages with diagrams and graphs.

A search for called finds this record, but a search for Caravel does not.
Field Contents said:
Out-of-Production 22-foot monohull aft-cockpit sloop from Bristol Yachts. Designed by Halsey Herreshoff. Formerly built in the USA. 325 produced from 1968 to 1978. Also called the Caravel.

Thank you.
-Ben
 
Sorry, here it is:

Code:
ALTER PROCEDURE CRSearchProc
(
-- Search Term
@word varChar(64)
)
AS

DECLARE @query varChar(128)
SET @query = 'FORMSOF (INFLECTIONAL, ' + @word + ')'

SELECT   *
FROM     TABLE
WHERE	
CONTAINS ( Description, @query )
 
AS a guess, I'd say that it doesn't consider punctuation as one of the inflectional forms. Just to prove if this is right, try to search for Herreshoff. It isn't the last word but it does have a period after it.



Questions about posting. See faq183-874
Click here to learn Ways to help with Tsunami Relief
 
Are you up to date on your service packs? Some fixes to fulltext search are inthem.

Aslo is your fulltext index out of date? MAybe it needs repopulating.

Questions about posting. See faq183-874
Click here to learn Ways to help with Tsunami Relief
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top