Plugin Author
Stiofan
(@stiofansisland)
Hi Tom,
Our query from the map search does have % “LIKE ‘%test%'”
Can you explain more?
Thanks,
Stiofan
Thread Starter
tomzt
(@tomzt)
But in Thai Language I can’t search if don’t use %.
I need to use % before and after keyword in Thai Language.
How can i check your sql?
Note.
English language use word by word to make sentence but it have space between word.
Ex. I Love GeoDirectory.
Thai language use word by word to make sentence same but when we write it does not have space between word.
Ex. ฉันรักGeoDirectory
ฉัน = I
รัก = Love
Plugin Author
Stiofan
(@stiofansisland)
I am a little confused about what you mean, can you give me and example and and example link?
You can check our code here: https://github.com/GeoDirectory/geodirectory/blob/master/geodirectory-functions/map-functions/get_markers.php#L119
Thanks,
Stiofan
Thread Starter
tomzt
(@tomzt)
Ok
Try this link http://dir.cnpxservices.com/ru-mba-korat/
By word (copy & paste)
1. อะไหล่
2. อะไหล่%
3. %อะไหล่
4. %อะไหล่%
Plugin Author
Stiofan
(@stiofansisland)
You only have one Thai listing called “ชนินทร์โฟน”
Searching the start “ชนินท” WORKS
Searching the middle “นทร์โ” WORKS
Searching the end “ร์โฟน” WORKS
I don’t see the problem..
Stiofan
Thread Starter
tomzt
(@tomzt)
It ‘s very good for Title
But
อะไหล่ is a word it in profile not title
This search box can search in other fields more than title right?
Do you use “อะไหล่” “อะไหล่%” “%อะไหล่” and “%อะไหล่% for searching? You will see different results.
Thanks very much for good support
Tom
Plugin Author
Paolo
(@paoltaia)
Hi,
Map search only looks into titles.
Thanks
Thread Starter
tomzt
(@tomzt)
Hi,
Thanks Paolo and Stiofan
Tom