• Resolved alextnetmatters

    (@alextnetmatters)


    I’ve recently implemented the plugin on a website and I’m getting incomplete search results returned for certain search terms.

    For example I have a post with the title “BHW Advises Hay Hampers On Merger with Moguntia Food Group”

    This post appears in the search results if I search for “Moguntia”, “Hamper”, “Hampers”, “Merge” and “Merg”, showing that it is indexed and the partial word search is working. However if I search for “Merger”, it doesn’t appear in the results at all and it is not an isolated case.

    What could be causing this?

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

    (@msaari)

    Is the word “merger” indexed for the post if you take a look at the Relevanssi debugger at Settings > Relevanssi > Debugging?

    What kind of other examples are there of words that cannot be found?

    What if you do those searches on the Relevanssi admin search (Dashboard > Admin search), are the results the same there?

    How large is your site? How many results are there for “merger”?

    Thread Starter alextnetmatters

    (@alextnetmatters)

    Hi

    Yes, “merger” is indexed under the title when I check it in the debugger.

    I did have other examples but I can’t find them at the moment. This word in particular stood out though as the number of results dropped from 45 before installing the plugin to just 9 after I installed it.

    Thanks

    Plugin Author Mikko Saari

    (@msaari)

    What about the admin search? Does the Relevanssi admin search (Dashboard > Admin search) return 45 posts or 9 posts?

    Thread Starter alextnetmatters

    (@alextnetmatters)

    I did an admin search and it returns 10 posts.

    Plugin Author Mikko Saari

    (@msaari)

    It’s impossible for me to say what’s excluding the post. If the word appears in the title, it should definitely be returned. Throttling might be one thing, but it only kicks in once you have more than 500 results per search term. I’d check if there are any additional filters in the search query that might block the post. Query Monitor is a good tool for checking the queries. If the site is somewhere where I can see it, you can enable the debugging mode from Settings > Relevanssi > Debugging and that may help give me a clue.

    Thread Starter alextnetmatters

    (@alextnetmatters)

    It is available at the moment, but won’t always be. Is there are way I can sent a link that won’t be shown publicly?

    Plugin Author Mikko Saari

    (@msaari)

    I think that may be in breach of these forum rules. I’m not sure, but I’m not willing to take a risk here, as I need to maintain my access here to help others.

    Thread Starter alextnetmatters

    (@alextnetmatters)

    I’ve found the cause. In the synonyms I had the following entry:

    merger = “mergers and acquisitions”

    Removing this has solved the issue.

    Plugin Author Mikko Saari

    (@msaari)

    Excellent! That kind of phrase synonym can be surprisingly limiting.

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

You must be logged in to reply to this topic.