WordPress.org

Ready to get started?Download WordPress

Forums

Relevanssi - A Better Search
Including exact results first (2 posts)

  1. deutschwulf
    Member
    Posted 1 year ago #

    We're working on a website with several thousand vehicles on it (built as a custom post type), and I'm running into a problem with search relevence.

    If you visit http://www.agentauto.com/?s=2010+Chevrolet+Aveo&submit=Find+it%21 you'll see that we're searching for 2012 Chevrolet Aveo's. You'll notice that right now only the top vehicle is the one that we're looking for, while all of the vehicles under it are actually trucks. Now, if I add quotes around the search phrase like this: http://www.agentauto.com/?s=%222010+Chevrolet+Aveo%22&submit=Find+it%21 we're actually got 4 exact matches for this search. I am trying to figure out how I can include these exact matches before the rest of the results.

    I have tried the AND operator, however it does not seem to change the results in any notable way. I've also played with the search weight quite a bit and I'm coming up empty as well.

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

  2. Mikko Saari
    Member
    Plugin Author

    Posted 1 year ago #

    Ah, my first suggestion would've been to use AND search, as it's exactly the way to solve these issues.

    Which version of Relevanssi are you using? Some of the recent versions have had issues with the AND search, but the current version should work.

    Also, one thing worth checking out: are those search results actually coming from Relevanssi? If you disable Relevanssi, do the results remain the same?

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.