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 wheretype= '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

Popular posts from this blog

html5 - What is breaking my page when printing? -

html - Unable to style the color of bullets in a list -

c# - must be a non-abstract type with a public parameterless constructor in redis -