• Resolved TwoBrands BV

    (@webworkx)


    Hello,

    We use relevanssi on several sites for better search, but now we found out that it is not indexing or showing results where the search phrase is in the title. It only searches in the content. It is happening only in on 1 specific site.

    We know of a filter to disable title or content indexing but it is not used.

    Relevanssi is used to also index SKU for woocommerce products
    Searching on page, post or product titles have no results unless the same text is somewhere in other content.

    We tried reindexing, reinstalling, etc, without any luck. Anyone else with this problem? And how to solve this?

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

    (@msaari)

    What is the title weight on your site? More than zero?

    Thread Starter TwoBrands BV

    (@webworkx)

    Post titles have the default weight 5

    Plugin Author Mikko Saari

    (@msaari)

    If you add a made-up word to a title, does it get indexed? If you check the Relevanssi database (wp_relevanssi), does the word appear in there? (I’m trying to figure out if this is an indexing problem or a searching problem.)

    Thread Starter TwoBrands BV

    (@webworkx)

    I actually tested this with a dummy word and found out that the search found this page/product

    Did some further testing and found out that i can not search only parts of words, for example if the search is “hand” it wil not find products with the word “hands”
    The standard search from WP is doing this.

    Knowing all this i activated fuzzy matching to “always”, which was only activated on no results. Looks like this could be the solution

    Plugin Author Mikko Saari

    (@msaari)

    Yes. If fuzzy search is disabled, Relevanssi only matches whole words (remember: Relevanssi doesn’t know anything about language, and doesn’t understand that “hand” and “hands” are the same word; there are many cases where words that have one-letter difference from one other should not be understood as the same word).

    If you want the search to match partial words, you can enable that. Standard search from WP doesn’t give you the option, it just assumes you always want partial matching.

    Thread Starter TwoBrands BV

    (@webworkx)

    Looks like this is the solution.
    Other titles which i searched for and returned no results were words listed in the stop words.

    Since i did not fill these words myself, how does relevanssi fill these stops words?

    Plugin Author Mikko Saari

    (@msaari)

    There’s a default stop word lists for few different languages; if Relevanssi recognizes you’re using one of those languages, it’ll automatically fill up the stop word list.

    You can edit the list: those are reasonable default values, but if there are words you don’t want to have on the list, just remove them and rebuild the index.

    Thread Starter TwoBrands BV

    (@webworkx)

    Thanks you very much Mikko for your support!

Viewing 8 replies - 1 through 8 (of 8 total)

The topic ‘page titles not indexed’ is closed to new replies.