Home › Forums › Product Support Forums › Ajax Search Pro for WordPress Support › Result problem
- This topic has 5 replies, 2 voices, and was last updated 9 years, 8 months ago by
Ernest Marcinko.
-
AuthorPosts
-
September 13, 2016 at 7:48 am #10108
Manu
ParticipantHello,
I have a problem with some searches, can you have a look please :
On the homepage :
If you type “mc flu” or “mc flurr” there is no result but it’s supposed to have 1 result.
The autocompletion is right and offer you the suggestion “mc flurry” but even if you type or click on “mc flurry” there is no results.If you type “flurry” there is a result.
“mc flurry” is a post title
Configuration :
– Show exact match onfly : off
– Keyworl logic : AND
– Minimal character count to trigger search : 3
– Cache : off
– Search engine : index table engine
– Index post title : yes
– index post content /excerpt : off
– Index post type : recipe.
– Index taxonomies : ingredientsThank you for your help
September 13, 2016 at 7:59 am #10110Ernest Marcinko
KeymasterHi,
By default the index table engine does not consider words below 3 characters. I believe this is the problem here.
1. Go to the index table options submenu and click on the Advanced options panel and turn off the Enable stop words option and set the Min. words length option to 0, then save the options: http://i.imgur.com/xemv4xe.png
2. After saving, re-create the index table: http://i.imgur.com/FxmwRCE.png
That should solve the issue.
September 13, 2016 at 8:08 am #10111Manu
ParticipantThank you for your very fast answer, the problem is solved 🙂
Just an another question, the image used in the result are my big thumbnail post (https://www.cookomix.com/wp-content/uploads/2016/04/mc-flurry-thermomix.jpg)
I didn’t see an option to specify a custom size for the_post_thumbnail (like medium, full, large etc… or a custom size defined in wordpress) i didn’t activate the image resizing in the plugin to save processor and because i have already the right size generated. There is a way to call programatically a custom size for the_post_thumbnail ?
Thank you !
Emmanuel
September 14, 2016 at 11:50 am #10124Ernest Marcinko
KeymasterHi!
Well, there is no option for that yet (under construction).
However there is a programatical way. Try putting this into the functions.php file in your active theme directory:
September 14, 2016 at 7:46 pm #10133Manu
ParticipantIt’s perfect 🙂
Thank you !
September 15, 2016 at 7:26 am #10145Ernest Marcinko
KeymasterYou cannot access this content.
-
AuthorPosts
- The topic ‘Result problem’ is closed to new replies.