- November 3, 2014 at 4:07 pm #2851
I’ve a problem with the search for numbers (it seems to be a numbers problem). I have a search for custom post types (“produkt”) and need to find specific posts of that post type by a number (CAS-Nr.). So I set up a search for that specific post type. The post which should be found is named/titled “Acrylol Chloride (CAS-Nr.: 814-68-6)”. If I search for “Acrylol” the search works perfectly, but I also need to search by CAS-Nr. So if I search for “814-68-6” I got no results.
Could you help me with this? I think I just missed a configuration but I can’t find it.
Find the sample search-page here:
The sample post is here:
the login details for access attached.
Thanks a lot
November 3, 2014 at 4:09 pm #2853November 3, 2014 at 4:23 pm #2857
- This topic was modified 7 years, 9 months ago by Floda.
Thank you for the detailed ticket. I found the issue immediately. It was the fulltext search. MySQL fulltext search has this “feature” where it ignores common words and stuff. I guess that numbers are no exception, so the database just simply ignored the numbers in the search term. I turned off the fulltext options under the “Fulltext search settings” submenu. It should work properly now.Best,
If you like my products, don't forget to rate them on codecanyon :)
November 3, 2014 at 7:45 pm #2866
wow! that was fast and it works perfectly. thank you very much for the great support!
You must be logged in to reply to this topic.