Hi,
It should return something when if you put “adams anderson” in the search box.
But you need to make sure that “Buddyboss all component should be activated along with enable all the option of Item for search component in Global search plugin setting.”
Please note For example there is string with “adams anderson” two word, it should work while searching. But if there is string like “adams anderson test”, if you will search “adams test”, it should not work.
I hope this will help.
Kindly Regards,
BuddyBoss Technical Support
thanks for looking at this!
But if there is string like “adams anderson test”, if you will search “adams test”, it should not work.
That is the functionality we are hoping to add… currently it becomes bad UX because someone who searches for one teacher name “Adams” – will return good results – but when they type “Adams Kenneth” or “Keneth Adams” it returns ‘nothing found’ –
We would like to see if two or more words are entered in search box that is finds all results, even those that only match one word, (and match either of two) –
So it could deprioritise and put those results which do not match full string but only one word in the bottom of the results… I think the plugin wp-extended-search gives an option to have is run sql queries with OR so it can find any matches -if this kind of (optional) option could be added I think it would be wonderful.
(but that plugin does not pull in the bp profile stuff we aslo need, yours seems to be the most complete/thorough )
This could also be helpful when people are looking to match other things – show me all members that have “pasta (and/or) potatoes” and similar things.
I hate sending users to a search page that says ‘nothing found’ try a search.. when we do have several pages and profiles that contain one of the words they searched for – just not both, and not both right together. (the first example posted on the OP – we have both names in the list on the teachers page, but the search is not showing that page as a result since those names are not on the same line.
hi @djsteveb,
Thanks for bringing this up
The team has intended to make the search functionality to be working for exact queries only.
The best thing we can do now is add this for feature enhancement but any timeline is not yet guaranteed as this will have its own priority
Kind regards,
BuddyBoss Technical Support
thanks folks!
If it’s the sort of thing that can be modded quickly / without a LOT of work – I would happily donate $25 to pay for the coding time or what not – this would help me, and help Buddyboss and help the BP community as whole – please let me know if I can help this be an easy win win win 🙂
I imagine the code changes would not be a lot (totally guessing of course!) – if I could get someone from freelancer or upwork or something to mod it and send you guys some code chunk to consider adding or something – I don’t know, whatever can be done.
If I was going to really delve into it myself I would peek at the backend for the “https://ww.wp.xz.cn/plugins/relevanssi/” and the ‘wp extended search’ as well which have a few nice addins that many may want as well.
anyhow thanks for responding so quickly, I appreciate the info and the code that’s already there!
This would be a nice way to go, I support the idea too. 🙂