• My website was initially using default wordpress search. But recently it started returning all posts for any search query. I tried all kinds of search plugin but it didn’t work. Finally, better-search worked properly. It matched the query and returned the desired post. But there is a problem, if the query is not matching then its returning all posts.
    I am new to this, please assist.

    https://www.ads-software.com/plugins/better-search/

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Ajay

    (@ajay)

    Could you give me an example please by what you mean by query not matching?

    Thread Starter paulami92

    (@paulami92)

    For example, I have discussed 5 topics in my website. Now, I tried to search for a word which is not a part of any post, say ‘hi’ is the word I searched for. So, by default it should return “Nothing found” but, it is returning “Search results for: hi” and then showing all the 5 posts.
    I hope, I could explain you the error.

    Plugin Author Ajay

    (@ajay)

    Hi,

    I think it’s making sense to me. Can I see the link to your site to look into this.

    Alternatively, are you in a position to test the queries using Query Monitor.

    The latest version implements an aggressive search algorithm in a bid to always return some results. And, it seems like there might be a bug which I haven’t been able to replicate.

    Thread Starter paulami92

    (@paulami92)

    Sorry for the late response.

    This is the link: click here

    Sorry, I am new to this and i don’t know how to test using Query Monitor. Can you still help?

    Plugin Author Ajay

    (@ajay)

    This is Query Monitor:
    https://www.ads-software.com/plugins/query-monitor/

    It will help you find the relevant queries by the plugin.

    I checked out your site, it clearly appears to be an issue, which I cannot replicate in my testing.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘if query not matched, returning all posts’ is closed to new replies.