Select * from candidates WHERE contains(c_resume_text,'"c++" or "houston" or "New York" or "Amsterdam"')
I have passed nearly 550 cities to search condition.
when i passed the 550 cities and run the query i am getting exception like
"too many full-text columns or the full-text query is too complex to be executed"
how can i solve that problem, please help me.
SQL2005 has quite few limitation for full-text searches. You have only two options to resolve this issue:
1. Simplify your query (Yes! it looks too complex for SQL2005, probably due to the large number of rows in the table or columns in index or anything else which makes SQL to take too much of resources :w00t
2. Move to SQL 2008.
I don't think you have any other options here...
Actually, try to defragment your full-text index. It may help for some time.
"The only true wisdom is in knowing you know nothing"
"O skol'ko nam otkrytiy chudnyh prevnosit microsofta duh!":-D
(So many miracle inventions provided by MS to us...)How to post your question to get the best and quick help