Ivory Search › Forums › Support › Synonyms no longer working
- This topic has 19 replies, 2 voices, and was last updated 1 year, 3 months ago by Ivory Search.
You must be logged in to create new topic or reply to the topic. Click To Login
- AuthorPosts
- July 20, 2023 at 7:15 AM #16984
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 workingI’m running in AJAX mode.
Website: bcc.nsw.edu.au
Is there anything else I can try?
Thanks!
- July 20, 2023 at 4:46 PM #16994
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 SupportAttachments:
You must be logged in to view attached files. - July 21, 2023 at 11:30 AM #17009
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. - July 21, 2023 at 3:50 PM #17016
Could you please try only adding the below synonyms and remove all others?
prep = beginners
- July 24, 2023 at 1:13 PM #17038
No luck unfortunately – see screenshots with just the one synonym.
Attachments:
You must be logged in to view attached files. - July 24, 2023 at 3:44 PM #17045
Have you also tried the below?
beginners = prep
- July 25, 2023 at 12:55 PM #17052
That doesn’t work either unfortunately. I’m definitely trying to get searches for [prep] to pull up results containing [beginners]
- July 26, 2023 at 6:06 PM #17058
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?
- July 27, 2023 at 2:59 AM #17069This reply has been marked as private.
- July 27, 2023 at 5:16 PM #17077
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. - July 28, 2023 at 5:43 PM #17097
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. - July 31, 2023 at 6:51 PM #17114
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. - August 1, 2023 at 1:29 PM #17120
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?
- August 1, 2023 at 4:33 PM #17121
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.
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?
- August 3, 2023 at 2:22 AM #17146
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 purposesNone 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. - August 4, 2023 at 2:06 PM #17176
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. - August 6, 2023 at 11:35 AM #17193
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. - August 7, 2023 at 6:05 PM #17212
Yes, you are right.
- August 9, 2023 at 10:55 AM #17251
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!
- August 9, 2023 at 4:26 PM #17252
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.
- AuthorPosts
You must be logged in to create new topic or reply to the topic. Click To Login