Home › Forums › Product Support Forums › Ajax Search Pro for WordPress Support › Problem with turkish letter
- This topic has 13 replies, 2 voices, and was last updated 4 years, 7 months ago by
Ernest Marcinko.
-
AuthorPosts
-
October 24, 2021 at 2:18 pm #35291
halukkuruoglu17
ParticipantWhen searching words which start with one Turkish letter “İ” leads to no results found error, no matter if you search with caps lock or not. For the other Turkish characters like Ş there is no error.
PS. Turkish İ is i in small caps and I is ı in small caps which is different from other latin languages where I is in small caps i and there is no İ and ı
October 25, 2021 at 9:43 am #35303Ernest Marcinko
KeymasterHi,
Thank you for the details!
I checked your configuration, and it was not the issue with the letters, but simply the contents were not indexed, the option was disabled. I re-enabled the content indexing and created a new index table here: https://i.imgur.com/E3VY47D.png
I believe it should be okay now.October 25, 2021 at 9:56 am #35304halukkuruoglu17
ParticipantNo it is not OK now, we do not search content, we only search the titles (book and author). Now the results are not what we want!
October 25, 2021 at 11:30 am #35310Ernest Marcinko
KeymasterI’m sorry, I was mistaken.
I found the issue, but I may need FTP details to be able to resolve this. I tried to login via FTP with the given details, but it does not seem to work unfortunately. Can you please check that?
The issue is that the character “İ” lowercases to “i̇” (ı + a special dot character) and that is not the same as “i”. So searching “i̇yi” will give results, but searching “iyi” will not – because those are not the same letters.
I can probably code an exception there to index both versions of the word where this special character is found.October 25, 2021 at 11:59 am #35311halukkuruoglu17
ParticipantYou cannot access this content.
October 25, 2021 at 1:54 pm #35313Ernest Marcinko
KeymasterYou cannot access this content.
October 25, 2021 at 1:56 pm #35314halukkuruoglu17
ParticipantI will ask to hosting company to grant access so it will take around 24h please try not to change your IP
October 25, 2021 at 2:42 pm #35318Ernest Marcinko
KeymasterThank you very much, I will try to keep the connections alive. Let me know when they approve.
October 25, 2021 at 4:37 pm #35323halukkuruoglu17
ParticipantHi Ernest,
While we wait for the approval I looked at the db and found the diacrtitic overdot you described.
I think it can be solved within the function which transforms the indexed terms to lowercase.
Please be aware also that the uppercase I is indexed as i now, but it has to be ı (i-no-dot ı)
October 26, 2021 at 10:23 am #35343Ernest Marcinko
KeymasterYes, that is exactly what I am about to do. However both the original and the transformed keyword needs to be considered. Until then I will try to resolve this on a local server first, so I only need to apply the fix for you. I am almost sure I can replicate this issue locally as well.
October 26, 2021 at 12:40 pm #35344halukkuruoglu17
ParticipantHello Ernest,
I understand. Meantime the hosting company has granted access to your ip address, please try the ftp connection again.
Thank you
October 26, 2021 at 1:52 pm #35350Ernest Marcinko
KeymasterThank you, I was able to access the FTP account now.
In the meantime I managed to find a possible solution, so I quickly implemented it to your site. I re-created the index table, now that letter should be hopefully manged correctly.
Please let me know, and I will mark this as a permanent fix for the upcoming release.October 26, 2021 at 1:55 pm #35351halukkuruoglu17
ParticipantYes it is resolved now, thank you
October 26, 2021 at 2:09 pm #35354Ernest Marcinko
KeymasterYou cannot access this content.
-
AuthorPosts
- You must be logged in to reply to this topic.