[Plugin: Search Everything] Search multiple terms
-
I would like to be able to get results for multiple term searches. Will this feature be added?
-
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
I switched over to the Relevanssi plugin. It works really well for taxonomies and seems to be updated regularly too.
So you can get results for multiple term searches?
Yes, I can. And there are cool options like show results with both terms or either terms and other relevancy options. Check it out.
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?
I don’t really know what
are asking but you should just test it.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 🙂
thanksHello 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!
I’ve just found a great thread on this… see the following link, it seems as though the solutions is (almost) there…
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.
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?
- The topic ‘[Plugin: Search Everything] Search multiple terms’ is closed to new replies.