Support » Plugin: Relevanssi - A Better Search » Highlighting synonyms on search

  • Resolved TiagoRodrigues

    (@tiagorodrigues)


    Hi.
    First of all, i really love your plug in. It has everything i was looking for. But something i can’t figure out how to work is this:
    I can highlight everything i search, but the words i added on the synonyms are not.
    The search still finds the pages containing those synonyms…but i have to look for that word.
    Is it possible to highlight synonyms as well and not just the word we’re searching?

    Thanks! 😀

    http://wordpress.org/plugins/relevanssi/

Viewing 7 replies - 1 through 7 (of 7 total)
  • Thread Starter TiagoRodrigues

    (@tiagorodrigues)

    No one knows?
    I’ve tried everything i know…and can’t get this to work somehow.

    Plugin Author Mikko Saari

    (@msaari)

    Relevanssi does highlight synonyms and when I try it, it works just fine. The current version of Relevanssi has a bug that hinders highlighting, so perhaps it’s not about synonyms at all.

    Thread Starter TiagoRodrigues

    (@tiagorodrigues)

    Is there a way to download a previous version of Relevanssi?
    Or is that bug gonna be corrected in the future?
    Thanks. 🙂

    Plugin Author Mikko Saari

    (@msaari)

    That bug is going to be fixed in the next version. If you want a quick fix, take a look at lib/excerpts-highlights.php and replace the two usort()’s with uksort().

    Thread Starter TiagoRodrigues

    (@tiagorodrigues)

    I’ve seen the bug is corrected…at least for the search results.
    Now it does highlight the synonyms i find…but only in the search results…once i click on an article, i can’t find those words highlighted for some reason…but this only happens for the synonyms.

    I’d appreciate if you could help me out.
    Thanks 🙂

    Plugin Author Mikko Saari

    (@msaari)

    When highlighting in articles, the plugin is not aware of the synonyms anymore. It only sees the original search query at that point. This is something I can fix in the next version.

    Thread Starter TiagoRodrigues

    (@tiagorodrigues)

    I’d be appreciated if i could have that function working.
    Thank you for your help!

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Highlighting synonyms on search’ is closed to new replies.