• I need the search results to be in this order:

    1. search term in title (not fuzzy, but exact match)
    2. count searchterm in content
    3. if 1 & 2 are the same, then the most recent first

    But no matter what I do I get the following order:

    Articles most recent AND with most machtes of searchterms in content, but this article doesn’t have the searchterm in the title, so why is it showing up on top?
    Also I can’t get the exact matched titles above the fuzzy ones. So a title like ‘redflower’ will show above ‘red flower’ when the searchterm is ‘flower’ and fuzzy is set to Never.

    What I need is ‘red flower’ article on top (no matter what date), then the wordcount from the content and at last the most recent posts.

    Hope anyone can help me with this.
    It’s on a developmentserver, so no link to a live site.

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

Viewing 1 replies (of 1 total)
  • Plugin Author Mikko Saari

    (@msaari)

    If you want title matches first, then increase the title weight a lot. Make it, say, 100 or 1000. The default title weight of 5 doesn’t have much effect.

    Relevanssi by default doesn’t care at all about post date, so it has no effect.

    Relevanssi doesn’t simply count words, but instead does tf * idf matching, but of course when you search using a single search term, it comes down to word count.

Viewing 1 replies (of 1 total)
  • The topic ‘easy adjust search result order’ is closed to new replies.