Synonyms no longer working

Ivory Search Forums Support Synonyms no longer working

Viewing 19 reply threads

You must be logged in to create new topic or reply to the topic.

  • Author
    Posts
    • #16984
      Jacob Shultz
      Participant
      • Topics: 1
      • Replies: 9

      Hi all,

      I’ve started experiencing an issue with synonyms no longer working. They were working recently.

      Here’s what I have covered in my troubleshooting so far:
      – Confirmed that the word matching is ‘OR’ not ‘AND’
      – Confirmed syntax of the [key word] = [matching word] is correct
      – Run Ivory in troubleshooting mode (all other plugins disabled)
      – Rolled back Ivory version
      – Rolled back WP version
      – Tested an old backup from a time where synonyms definitely were working, but even on this restore, it wasn’t working

      I’m running in AJAX mode.

      Website: bcc.nsw.edu.au

      Is there anything else I can try?

      Thanks!

    • #16994
      Ivory Search
      Keymaster
      • Topics: 0
      • Replies: 1,749

      Sorry to hear about the problem you are having.

      I have tested it on my test site and it’s working fine for me using the latest version of the plugin as displayed in the attached screenshots.

      Could you please share me same screenshots so I can troubleshoot the issue?

      Best regards,
      Ivory Search Support

      Attachments:
      You must be logged in to view attached files.
    • #17009
      Jacob Shultz
      Participant
      • Topics: 1
      • Replies: 9

      Thanks for your quick reply. I’ve attached the screenshots to match yours.

      What do you think?

      Attachments:
      You must be logged in to view attached files.
    • #17016
      Ivory Search
      Keymaster
      • Topics: 0
      • Replies: 1,749

      Could you please try only adding the below synonyms and remove all others?

      prep = beginners

    • #17038
      Jacob Shultz
      Participant
      • Topics: 1
      • Replies: 9

      No luck unfortunately – see screenshots with just the one synonym.

      Attachments:
      You must be logged in to view attached files.
    • #17045
      Ivory Search
      Keymaster
      • Topics: 0
      • Replies: 1,749

      Have you also tried the below?

      beginners = prep

    • #17052
      Jacob Shultz
      Participant
      • Topics: 1
      • Replies: 9

      That doesn’t work either unfortunately. I’m definitely trying to get searches for [prep] to pull up results containing [beginners]

    • #17058
      Ivory Search
      Keymaster
      • Topics: 0
      • Replies: 1,749

      Would you mind if I log in to your site and do quick troubleshooting? If this is ok then could you please temporarily create an admin user account and share the account login details privately by checking the option “Set as private reply” when replying to this topic?

    • #17069
      Jacob Shultz
      Participant
      • Topics: 1
      • Replies: 9
      This reply has been marked as private.
    • #17077
      Ivory Search
      Keymaster
      • Topics: 0
      • Replies: 1,749

      I tested it on your shared website and got search results for both keywords as shown in the attached screenshots.

      Please advise.

      Attachments:
      You must be logged in to view attached files.
    • #17097
      Jacob Shultz
      Participant
      • Topics: 1
      • Replies: 9

      Hmm… Up until a couple of weeks ago the ‘prep’ search would return the Beginners result first, which is what I would expect with the synonym in place. The only reason it’s showing up as the third result now is because I blacklisted most pages on the site.

      Another example is high school = secondary school. There is a page called Secondary School, so I would expect that page to return when searching for high school – but it doesn’t return at all (see screenshot). So my suspicion is still that the synonyms aren’t working.

      Attachments:
      You must be logged in to view attached files.
    • #17114
      Ivory Search
      Keymaster
      • Topics: 0
      • Replies: 1,749

      You should use “secondary = high” and don’t enable the plugin option as shown in the attached screenshot.

      I made these changes and it started working fine as shown in the second attached screenshot.

      Attachments:
      You must be logged in to view attached files.
    • #17120
      Jacob Shultz
      Participant
      • Topics: 1
      • Replies: 9

      Thanks for your response – I can replicate your test, but the secondary result is second last out of all the other pages on my site. There are other far less relevant responses appearing above. Removing the synonym from the backend does not change the return of the desired page, indicating that synonyms still aren’t working… I’m confused because a couple of weeks ago it was functioning so well! I don’t want to be a pain, but is there anything else to try?

    • #17121
      Ivory Search
      Keymaster
      • Topics: 0
      • Replies: 1,749

      Thanks for your response – I can replicate your test, but the secondary result is second last out of all the other pages on my site. There are other far less relevant responses appearing above.

      Ordering the search results is a different thing that you can configure as described below.

      Order Search Results Posts

      Removing the synonym from the backend does not change the return of the desired page, indicating that synonyms still aren’t working… I’m confused because a couple of weeks ago it was functioning so well! I don’t want to be a pain, but is there anything else to try?

      This can be due to the cache.

      Could you please give me one single example of the words from your website where the synonym is not working?

    • #17146
      Jacob Shultz
      Participant
      • Topics: 1
      • Replies: 9

      Oh, thanks for your response. Here’s what I’ve checked:

      – I’ve bought a lifetime pro subscription so I could check ordering. See screenshot – ordered by relevance desc.
      – I’ve flushed cache
      – I’ve removed all synonyms except for one for testing purposes

      None of the above have seemed to change anything. See the example that I screenshot;

      Synonym: prep = beginners

      I would then expect that a search for “prep beginners” and “prep” should produce identical results, as per your documentation. Is that a correct expectation? As you can see from the screenshots, when I search for “prep beginners”, it returns results that I would expect (the Beginners page first). But when I search just for “prep” it returns less relevant results. (the reason it is returning similar pages is because I’ve restricted the form to only a couple of pages for testing purposes).

      Attachments:
      You must be logged in to view attached files.
    • #17176
      Ivory Search
      Keymaster
      • Topics: 0
      • Replies: 1,749

      No, as per the documentation, it should order by search terms in the following order:
      First, whether the entire sentence is matched.
      Second, if all the search terms are within the titles.
      Third, if any of the search terms appear in the titles.
      And, fourth, if the full sentence appears in the contents.

    • #17193
      Jacob Shultz
      Participant
      • Topics: 1
      • Replies: 9

      Maybe I’m misunderstanding how the synonyms work – can you correct my logic if I haven’t understood?

      In my example, I believe that a search for “Prep” = a search for “Prep Beginners” – as the plugin effectively adds the synonym to the search term. Is that correct?

      Thus, searching for “Prep” and “Prep Beginners” should return identical results because they are actually the same search term (with Beginners being added to Prep in the first instance).

      I think this is the same logic as your bird and crow example in the documentation:
      Searches for “bird” automatically become searches for “bird crow”
      ->
      Searches for “prep” automatically become searches for “prep beginners”

      Attachments:
      You must be logged in to view attached files.
    • #17212
      Ivory Search
      Keymaster
      • Topics: 0
      • Replies: 1,749

      Yes, you are right.

    • #17251
      Jacob Shultz
      Participant
      • Topics: 1
      • Replies: 9

      Okay awesome. So if they aren’t returning the same results, this would indicate that synonyms aren’t working for me, correct? Is there anything else I can try?

      Sorry, I don’t want to be a pain at all, but there’s a lot of value in this for my client if we can get it working. I’ve also invested quite a bit of time into set-up already 😉

      Thanks!

    • #17252
      Ivory Search
      Keymaster
      • Topics: 0
      • Replies: 1,749

      It seems this is how it works on your shared website as shown in the attached screenshots.

      You don’t need to say sorry and If I can be of any assistance please don’t hesitate to ask.

      Attachments:
      You must be logged in to view attached files.
Viewing 19 reply threads

You must be logged in to create new topic or reply to the topic.