all groups > sql server full text search > february 2004 >
You're in the

sql server full text search

group:

handeling OR/AND


Re: handeling OR/AND Hilary Cotter
2/25/2004 10:56:48 AM
sql server full text search:
no. For such complex Boolean logic you will have to resort to parenthesis.

This is not a limitation of SQL FTS but rather Boolean logic.

[quoted text, click to view]

handeling OR/AND Guy Brom
2/25/2004 11:30:46 AM
Hello there,

Is there a way to instruct FTS to use this:

.... WHERE CONTAINS(*,'Foo1 OR Foo2 AND Foo3')

as this:

'(Foo1 OR Foo2) AND Foo3'

without the use of ( ) ?

most of my users type it without ( ), and actually getting-

Foo1 OR (Fo2 AND Foo3)

Thanks!

AddThis Social Bookmark Button