sphinx - Sphinxql Replace() function like mysql -
i can able find search on mysql such example below;
record : i'histoire query search :ihistoire
with sql query can able find word ' string.
select kitap_id,kitap_adi,turu,fiyati,kargo,satici,yazari,yayinevi,yayin_yili,yayin_yeri,kucuk_re sim,kondisyon kitaplar onay='1' , (replace(kitap_adi,'''','' ) '%ihistoire%' or yazari '%ihistoire%') order fiyati asc limit 0,5;
but on sphinx how can this? query below find matches want find ones '.
select kitap_id,kitap_adi,turu,fiyati,kargo,satici,yazari,yayinevi,yayin_yili,yayin_yeri,kucuk_re sim,kondisyon test1 match ('@(kitap_adi,yazari)(ihistoire)') , onay=1 order kitap_adi asc, fiyati asc limit 0,5\g;
how can replace() in sphinxql, can able on mysql side bu how on sphinx side?
thanks
ignore_chars seems perfect fit this...
Comments
Post a Comment