Support » Plugin: Search Everything » pictures attachments show in search results !!!

  • Resolved khahina

    (@khahina)


    Hello,
    Since the new update, pictures attachments are show in search results ! And no way to unselected them in plugin parameters !

    Thank you

Viewing 8 replies - 1 through 8 (of 8 total)
  • I am also having the same problem after upgrading to 8.1.8.

    In the Search Everything settings under Search Everything Basic Configuration I only have “Search every custom field checked”. I don’t have “Search every attachment checked”. However, attachments show up in the search results.

    There has been a slight change in the SQL search everything generates, with some brackets removed. This seems to mean all post types are returned where it should just be posts of type “post”.

    Thanks.

    Thread Starter khahina

    (@khahina)

    Yes , private post are also showed in results and custom post marked unsearchabled with cpt-ui too.

    The previous version don’t do this at all!!!!

    same problem here too. Also i was able to exclude all pages from search with custom code snippet but it doesnt’t work either now.

    Somewhat related issue I’m seeing: I have a special page on my site with a custom search for specifically searching one custom post type.

    Since updating Search Everything, the “post_type” argument in my WP_Query call is being ignored, and all public post types (including attachment pages, which are one of the stupidest things built into WordPress, if you ask me, but I digress) are showing up in the results of this query.

    If I disable Search Everything, my own custom search immediately works properly again… the problem is, I am really dependent on Search Everything for my main search, so I can’t leave it disabled!

    I turned on Query Monitor so I could see exactly what the SQL query for the search was, and I was able to identify the problem. Basically, Search Everything is adding a series of “OR” conditions to the query, to get it to search on additional fields besides the WP default of post_title and post_content. The problem is, they’re getting inserted in the wrong place in the nested parenthetical groupings, so they become “OR” conditions that conflict with the various “AND” conditions in the query, such as post_type.

    I’ll post an update here once I’ve identified where this is happening in the plugin.

    • This reply was modified 6 years, 11 months ago by room34. Reason: Additional information

    After digging into things a bit further, I realized it probably was not a good idea for me to try to hack the plugin directly.

    This may not be a solution for everyone, and I do hope Search Everything gets updated to address this issue soon, but for me at least, the only thing I’m really using the plugin for is to get my Advanced Custom Fields content pulled into the search. I ended up disabling the plugin and using the code I found here instead:

    https://adambalee.com/search-wordpress-by-custom-fields-without-a-plugin/

    Plugin Author Sovrn

    (@sovrn)

    Hello @khahina, @awilliams500, @elnoor, and @room34

    Thank you for your inquiries and we apologize for any inconvenience this may be causing. We are actively investigating the issue and working on a solution.

    Thank you for your patience in resolving this issue.

    Regards,

    Sovrn Support

    I also have this issue in the latest version.

    Plugin Author Sovrn

    (@sovrn)

    Sorry for the delay,

    We’ve found the issue and have submitted a new version(8.1.9) of Search Everything. Apologies for the confusion and problems this caused.

    @room34 is correct regarding the Or’s and And’s. We found the problem earlier but it took us a little longer than normal as we wanted to go through each option and test each option(especially the ones you all have encountered) before releasing a new version.

    Of course, if you still encounter any issues with the new version, please don’t hesitate to let us know.

    Thanks and again, apologies for the issues this caused.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘pictures attachments show in search results !!!’ is closed to new replies.