- May 13, 2020 at 3:46 pm #27299
Note that you cannot access the site via url. It is in development. DNS points elsewhere. If you wish to access it, let me know and I’ll send you the IP to redirect your hosts file.
The problem I’m having is with the priorities section. In the index, I’ve added custom fields, and in the main search it works fine. But the posts referenced by the custom fields do not show up in the priorities filter.
I’ve made a screen video to show you the problem. It’s here:
Thanks!!May 14, 2020 at 7:50 am #27314
Thank you for the details, it helps a lot.
Individual priorities can not have conditional rulesets, so if you increase a priority for a result, then it is always prioritized, when matched. It is good for cases when you want to display a certain item first. I am not sure, if this is what you want here. The reason you don’t see the item when searching “engineer” is, that the search on that page is only a simple title search, to find the items by their titles for a quick configuration – it does not use any custom configuration.
I feel you rather want to increase the relevance of custom field matches, so that keywords matching custom field would gain higher positions. For that, you will have to experiment with the relevance options here: https://i.imgur.com/xR79ZvY.png
I would suggest starting with an extreme change, to see if it changes the order: https://i.imgur.com/MvPwjix.png
..and then gradually increasing/decreasing the values, and observing the change. If I had to guess, then something like this could be possible “good” configuration: https://i.imgur.com/pSsnkW7.png
This is a generic solution to increase relevance agains custom fields.
However, if you only want to prioritize some results for specific conditions, like: when typing in “engineer” you want to prioritize results, that match a custom field, that has “engineer” in it – then you can use the group priorities feature. In your case, a rule group could look like this: https://i.imgur.com/EtNq9mq.pngBest,
Please mind, I only recommend this, if you have only a few specific rules – as adding too many may cause a significant slow on the search response.
If you like my products, don't forget to rate them on codecanyon :)
You must be logged in to reply to this topic.