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.