Display relevance score

This topic contains 4 replies, has 2 voices, and was last updated by Manu Manu 2 years, 12 months ago.

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #33015
    Manu
    Manu
    Participant

    Hi Ernest,
    Can you help me by telling me how i can display the relevance score for each result in a request ?
    I would like to determin, in the case the relevance is the primary ordering and two elements match this primary ordering criteria, when the the secondary ordering is used.
    Thank you,

    • This topic was modified 2 years, 12 months ago by Manu Manu.
    #33018
    Ernest Marcinko
    Ernest Marcinko
    Keymaster

    Hi,

    Try the asp_results hook, it should be stored in the $r-> relevance object property.

    Best,
    Ernest Marcinko

    If you like my products, don't forget to rate them on codecanyon :)


    #33019
    Manu
    Manu
    Participant

    Perfect ! Thank you very much 🙂

    #33020
    Manu
    Manu
    Participant
    You cannot access this content.
    #33023
    Manu
    Manu
    Participant

    I found it because of the apostrophe in the title of the post.
    If I remove it the relevance score is ok.

    How can I prevent the post titles that have an apostrophe to end up with a skewed relevance score?

    Thank you 🙂

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

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