php - Sphinx 2x , Adding WHERE clause having used sql_field_string -
i building application requires search.
i using sphinx 2.0x , has been giving me results.
now, want filter through using where
in mysql example, select * properties where
type= 'house'
trying add filter on sphinx search.
i using https://github.com/cakenkeyboard/sphinx-cakephp , api have, (just checked) requires filter's second argument array , assert requires know if number. not touch api file nor behaviour file.
checked : sphinx 2.0.2 filtering sql_attr_string attributes made sense!
but add match ??? using behaviour , api file asserts if value number want check on string.
please help.
match(..) 'full-text' query itself.
so in api, ->query call.
sphinxql makes extended match mode default, use @ syntax in api, need explicitly request sph_match_extended
Comments
Post a Comment