• Resolved AJ

    (@permaculturetreegeek)


    For example: I search my site for “drums” the order returns like this:
    …………..
    Events
    …Celebrate the Beat with David on drums – Motown on Thursday, May 26, 2…
    ……………
    Percussion and Drum Lessons
    Private Percussion and Drum Lessons – David’s teaching studio / house calls / day of concert while traveling Styles offered – Drumset, frame drums, hand drums, and percussi…
    ……………
    The entry with only one match for the keyword comes in ahead of the entry with three matches.

    Can the plugin be weighted for more keyword matches?

    https://www.ads-software.com/extend/plugins/relevanssi/

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter AJ

    (@permaculturetreegeek)

    just to add some detail to the same search:
    ………….
    Events
    …Celebrate the Beat with David on drums – Motown… body=5, title=0, tags=0 ,comments=0 Total hits:5, Search Terms= drums: 5, Score= 115.4
    ………….
    Percussion and Drum Lessons
    Private Percussion and Drum Lessons – David’s teaching studio / house calls / day of concert while traveling Styles offered – Drumset, frame drums, hand drums, and percussion. Logistics – When, where, what skill levels and ages. Teaching Methods and Philosophy – David meets his students… body=4, title=0, tags=0 ,comments=0 Total hits:4, Search Terms= drums: 4, Score= 92.32
    …………..
    What I notice is that the ‘Events’ page has 5 hits, and the ‘Percussion and Drum Lessons’ Page has 4 hits. Am I right in guessing that those hits must be coming from the html source, not from WordPress content?… and if so, is there a way to add weight to content?

    Plugin Author Mikko Saari

    (@msaari)

    No, Relevanssi doesn’t index any HTML source, just the WP content. The first post comes on top, because it has the search term five times, and not just four.

    It’s going to be tricky to get the second post appear on top, because if you add weight to post content, the first post is going to get more of that extra weight.

    Thread Starter AJ

    (@permaculturetreegeek)

    I guess I don’t understand how its matching the search terms. Can you clarify? When I visit those two pages in a browser and use ctrl-F to search the page: DRUMS

    The events page has the term one time.
    https://www.embodyingrhythm.com/events-page/

    The percussion and drum lessons page has it 4 times.
    https://www.embodyingrhythm.com/david-alderdice/percussion-and-drum-lessons/

    cheers

    Plugin Author Mikko Saari

    (@msaari)

    When I search for word “drums” on the Events page, I see it five times, like Relevanssi does, all in past events.

    Thread Starter AJ

    (@permaculturetreegeek)

    Indeed. Firefox was not finding those for some reason. (Edit: I had Match Case selected. Doh.) When I used a different browser there they were.

    Thanks for the time and a great plugin.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Search weighting doesn't seem to work’ is closed to new replies.