This website uses cookies to personalize your experience. By using this website you agree to our cookie policy.

Sorting the results

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #30265
    petermacpetermac
    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
    petermacpetermac
    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.