Forum Replies Created
-
AuthorPosts
-
thebizpixie
ParticipantThanks for tracking this down and solving it.
I’ve have made the changes on our live site and can confirm that it’s now working correctly.
Much appreciated.
thebizpixie
ParticipantYes, OK, that makes sense.
I will try the ID you suggested and play with it, now that I have a sense of what’s going wrong.
Thanks for the pointers.
thebizpixie
ParticipantYou’re absolutely spot on that it was a lazy loading issue. Thanks for picking this up.
Because in Bricks you can build anything from scratch, even search results content, all I had to do was switch loading from lazy to eager on the image in my search results layout that I’d created.
But I really appreciate you sourcing and writing that code for me as well.
Now, about my second issue – the fact that instead of showing nothing when there are no results, but instead showing everything.
Any ideas on that front? Happy for you to just make suggestions for me to explore further.
thebizpixie
ParticipantNote: A good test is to search for the word “stress” and filter to videos and “Knowledge Hub” for pagination purposes.
Whitepapers also shows 2 results and no images. Products and services should show 3 results, but seems to return nothing (shows everything).
thebizpixie
ParticipantYou cannot access this content.
thebizpixie
ParticipantGreat, thanks for the clarification.
That should help us improve our search experience going forwards.
thebizpixie
ParticipantThanks for the explanation. I’ve added the words to the exceptions list, and can see that the results are now the same across both search inputs.
I’m not sure I fully understand what you mean by “The words can still fuzzy match, it only means, that these words were not indexed to search for.”
What is the difference between a word not being indexed to search for and it fuzzy matching? Does this mean that the whole word won’t match, but word subset matches will still be returned, or does it mean something else?
And is that why the results were fewer in the first set, because the other articles did not contain the string “what” or “is” somewhere within the words of the content?
I love the power of your search, but I’d like to better understand it so I’m using the settings appropriately.
Thank you.
thebizpixie
ParticipantThe difficulty I have is that the results are different for “what is change management”:
https://sacsconsult.com.au/?s=what+is+change+management&asp_active=1&p_asid=1&p_asp_data=1&filters_initial=1&filters_changed=0&qtranslate_lang=0¤t_page_id=38557versus just “change management”:
https://sacsconsult.com.au/?s=change+management&asp_active=1&p_asid=1&p_asp_data=1&filters_initial=1&filters_changed=0&qtranslate_lang=0¤t_page_id=38557If “what” and “is” were truly being ignored, I would have expected the results to be pretty much the same.
But the first set of results returns 14 articles, many of which are not about change.
Whereas the second set of results returns 51 articles, more of which are about change, at least in the initial rows of results.
Is it possible that by using the terms “what” and “is” in the search terms that certain articles are being excluded from the results?
The first set is not an exact subset of the second, but it does seem close.
I tried enabling exact match keyword logic as per your screenshot, but then the first search returned NO results, and the second 47.
I’m not keen to enforce exact matching just yet, as this may not be the best user experience, given the likely search terms I know my visitors will use. I’d rather figure out what’s going on here with the stop words if we can.
Would you mind having a look at the two above sets of search results and seeing if you can discern what might be going on?
I’m happy for you to have access to the back end if you want to better understand my settings.
Thank you.
Nikki
thebizpixie
ParticipantHi Ernest,
Thanks for your reply. Hopefully you get notifications this time!
I have followed all three steps you suggested. I did find that the index table engine was not enabled, but stop words were definitely enabled in the index.
After enabling the index table engine and reindexing just to be safe, I’m still having the same problem (see attached screenshot).
Any other ideas as to what I can try to get this working?
Thanks,
Nikki
February 27, 2023 at 10:06 pm in reply to: Stop words not being excluded from search results? #41566thebizpixie
ParticipantHi Ernest,
I hope everything is OK at your end. Can you please let me know what else I need to provide to you to get a response on this?
Thanks,
Nikki
thebizpixie
ParticipantHi Ernest,
I’d love your thoughts on what’s going on here and how I can improve the results.
My client recently purchased another six months of support, so I hope that helps.
Thanks,
Nikki
thebizpixie
ParticipantAwesome, thanks. I look forward to it.
BTW thanks for all of your support across all of my questions. You’ve been most helpful.
thebizpixie
ParticipantOK, that sounds promising. How long do you think before you are ready to send it live?
I’d rather use the work you’ve done, and I might be willing to wait, depending on the time frame.
thebizpixie
ParticipantThanks, the “wp_doing_ajax()” fixed it.
I need the filter off in admin because it’s not technically part of the title for people who are editing the resources.
All working as expected now.
Cheers.
thebizpixie
ParticipantThanks for confirming how it’s supposed to work. I’m definitely using the ‘the_title’ filter to modify the title:
if( !is_admin() ){ add_filter( 'the_title', 'nhs_skhc_modify_resource_title', 10, 2 ); }and yet it’s not applying to the live search results titles.
Do you need me to share anything more with you to figure out why this is not working as expected?
-
AuthorPosts