WordPress.org

Ready to get started?Download WordPress

Forums

Relevanssi - A Better Search
Results missing when search includes common terms (4 posts)

  1. cw_wp
    Member
    Posted 1 year ago #

    I'm searching on two terms without quotes. One term is very common. The other term is relatively common. However, there is only one post where both terms appear in the title and the title weight is now set to 100. I have the default operator set to "AND" with "OR" fallback turned on.

    This search returns only two results, neither of which is the post with both words in the title. If I search with the terms in quotes, the correct post (and only that post) is returned. What's going on?

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

  2. Mikko Saari
    Member
    Plugin Author

    Posted 1 year ago #

    Does it work if you disable the OR fallback?

  3. cw_wp
    Member
    Posted 1 year ago #

    I gave that a try, but I'm still getting the same results.

  4. Mikko Saari
    Member
    Plugin Author

    Posted 1 year ago #

    Strange problem. Does the post with both terms appear in results for both terms, ie. is it indexed properly? You can take a look at the database, search in wp_relevanssi for the post ID in the doc column. Do both words appear in the database for that post?

    Is it possible the very common term is a stopword?

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags