Having trouble using 'AND' in CONTAINSTABLE SQL SERVER FULL TEXT SEARCH -


i've been using full-text awhile cannot seem relevant results sometimes.

if have field an overview of pain medicine 5/12/2006 , user types an overview 5/12/2006

so create search like:

"an" , "overview" , "5/12/2006" - 0 results (bad)

"overview" , "5/12/2006" - 1 result (good)

the containstable portion of query:

from         ce_activity inner join     containstable(view_activities,(searchable), @search) keytbl on a.activityid = keytbl.[key] 

"searchable" field contains activity title, , start date(converted string) in 1 field it's search friendly.

why happen?

[update]

okay tested noise word theory. used "pain" , "overview" , "5/12/2006" , works fine.

but if add "of" fails. 'of' , 'an' must noise words.

now question is, how make ignore words, instead of removing result if noise word exists?

any tips?

perhaps your current word breaker ignores "an" noise.


Comments

Popular posts from this blog

javascript - Enclosure Memory Copies -

php - Replacing tags in braces, even nested tags, with regex -