You've defined string_field1 as an attribute, with sql_attr_string
.
Because its an Attribute
, it's NOT full-text indexed. So it will never match any keywords in the search.
Fields
on the other hand ARE indexed, and would match. Anything not defined as an attribute, and never the first column in sql_query
, but everything else will be a field.
So can either remove sql_attr_string if you diddnt really want it to work as an attribute. Or can use sql_field_string, to make the column BOTH a field and attribute. Once you string_field1 defined as a feild, it should match on your query.