Forums

Search Everything
Search multiple terms (12 posts)

  1. deadhippo
    Member
    Posted 1 year ago #

    I would like to be able to get results for multiple term searches. Will this feature be added?

    http://wordpress.org/extend/plugins/search-everything/

  2. adige72
    Member
    Posted 11 months ago #

    This would be great for me too!

    I found a code that should be modified in order to show posts instead of echoing text. Have a look at that topic, it might be good starting point for developers:

    http://wordpress.org/support/topic/searcg-multiple-taxonomy-term?replies=1

  3. deadhippo
    Member
    Posted 11 months ago #

    I switched over to the Relevanssi plugin. It works really well for taxonomies and seems to be updated regularly too.

  4. adige72
    Member
    Posted 11 months ago #

    So you can get results for multiple term searches?

  5. deadhippo
    Member
    Posted 11 months ago #

    Yes, I can. And there are cool options like show results with both terms or either terms and other relevancy options. Check it out.

  6. Rollike
    Member
    Posted 11 months ago #

    Is it possible to pick the words from e tag cloud or list?

    I would like the same search feature, but wan't my readers to pick tags from a list is this possible?

  7. deadhippo
    Member
    Posted 11 months ago #

    I don't really know what
    are asking but you should just test it.

  8. Rollike
    Member
    Posted 11 months ago #

    I have been tryin / testing this and several other plugins but have not had any luck finding a good solution... :(
    But let me know if you see such a feature :)
    thanks

  9. roaming_elephants
    Member
    Posted 9 months ago #

    Hello there!

    I am currently trying to do a similar thing, namely find a plug in which would pick up on all the relevant tags. I am using Media-Tags plug in to tag all my photos and media content.

    Before I proceed, I must admit, I am relatively new to WordPress - I can cut and paste code where required but I really have no idea (yet) how to write my own.

    Anyhow, I have tried Search Everything and it is one of the rare, brilliant and simple plug-ins that picks up on all my tags - so kudos! However, the issue with it is that it defaults to AND logic and therefore for multiple terms it often yields no results, i.e. if your search terms are X and Y, then it only yields results if it finds both terms within a post, attachment, etc. However, if all the terms are connected with OR operator (which is that vertical line "|"), then it performs, i.e. if you search for X | Y then you get a score. This is a bit annoying because not all of my site visitors know how to use boolean operators.

    Does anyone know how this can be changed?

    I have also tried Relevanssi, and it looks pretty cool for everything else except for custom tags (or at least I still haven't figured out a way how to do this - if anyone knows, please let me know).

    Cheerios!

  10. roaming_elephants
    Member
    Posted 9 months ago #

    I've just found a great thread on this... see the following link, it seems as though the solutions is (almost) there...

    https://core.sproutventure.com/issues/1118

  11. roaming_elephants
    Member
    Posted 9 months ago #

    Found the solution... see here: http://wordpress.org/support/topic/plugin-search-everything-after-last-update-two-words-searches-dont-work-with-tags?replies=9

    The key appears to be in replacing the line 197 of the search-everything.php file:

    $where = str_replace( ")))", ")$searchQuery))", $where );

    with the following line:

    $where = str_replace( ")) ", ")$searchQuery) ", $where );

    This seems to be working for me now.

  12. shauny
    Member
    Posted 6 months ago #

    I tried the fix above but there is still a problem.

    If I have a custom field called "colour" and a value of "red", and a custom field called "material" and a value "cotton" then searching for [red cotton] shows nothing.

    Also if the title of the post is "Shirt" and I search [red shirt] nothing is returned.

    It needs to mix together all the custom fields before performing the search, but it seems it does not. Is there a fix for this?

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic