Home › Forums › Product Support Forums › Ajax Search Pro for WordPress Support › Categories appear above all more relevant posts in results
This topic contains 4 replies, has 2 voices, and was last updated by willgreeny59 2 years, 10 months ago.
- AuthorPosts
- July 16, 2020 at 2:03 pm #28518
Hello,
Firstly, if you do login, can you please only look at the AJAX search pro?
I have found that since adding content to category pages, if I add categories to the search, they always appear first before any other options, even when the weighting is heavily in favor of the title.
For example, the category ‘Emily Dickinson’ ranked higher for ‘because i could’ than the article ‘Because I could not stop for death by Emily Dickinson’.
Can this be corrected/fixed please?
Many thanks,
Will
July 16, 2020 at 2:27 pm #28522Hi Will,
By default, the taxonomy term results (categories) are displayed before the post type results. You can change that order here, if you wish to display other types first.
Best,
Ernest Marcinko
If you like my products, don't forget to rate them on codecanyon :)
July 16, 2020 at 4:56 pm #28526Hi Ernest,
Thank you very much for that – this does mean that the category pages will never show up top when searching for that person (such as ‘Emily Dickinson’) as the posts are poems by ‘Emily Dickinsn’ <– so they will always appear first when searching just for ‘Emily Dickinson’.Do you understand the issue? Is there a way that if the web user searches for just the category title, then that should come up top because it’s the best match?
July 17, 2020 at 8:50 am #28535Hi,
I understand, but it’s not possible unfotunately. The category search and the post search have different relevance calculations, and running as separate queries on separate database tables, thus not comparable – at least not at the moment.
Best,
I’m almost positive, that this is going to be possible in the future, once the queries are re-designed.
Ernest Marcinko
If you like my products, don't forget to rate them on codecanyon :)
July 17, 2020 at 11:16 am #28540Okay thank you
- AuthorPosts
You must be logged in to reply to this topic.