Sorting the results

This topic contains 1 reply, has 1 voice, and was last updated by petermac petermac 3 years, 5 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #30265
    petermac
    petermac
    Participant

    Hi, I am trying to get these results sorted in a particular way… I am only searching posts but both title and content. So I want the results to show the the posts where the search word(s) appear in the title first, then in the body, and then sort all those by date. So if I am looking for the word “tacos” then all the posts with that word in the title are displayed first in order of newest to oldest, then the same sort order (newest to oldest) for the posts that have the term “tacos” somewhere in the body of the post.

    #30266
    petermac
    petermac
    Participant

    I think I found the answer here: https://documentation.ajaxsearchpro.com/general-settings/result-ordering
    There are a few anomalies to my search results, but this is close enough…

Viewing 2 posts - 1 through 2 (of 2 total)

The forum ‘Ajax Search Pro for WordPress’ is closed to new topics and replies.