SQL error in QUERY: SELECT COUNT(*) FROM d4m_company_by_city_and_rubric WHERE region_id = 52 AND MATCH ( '@company_name ' ) OPTION ranker=expr('sum(lcs*user_weight)*1000+bm25') Array ( [0] => 42000 [1] => 1064 [2] => index d4m_company_by_city_and_rubric: syntax error, unexpected $end near ' ' )