Using Boolean operators with Exact search
-
Hello,
I am trying to use boolean operator with exact search but I am not getting the desired results.
I am trying to fetch those posts which have “cute cats” and “dangerous dogs”.
So that I get the results having exactly “cute cats”, “dangerous dogs”
cute cats and dangerous dogs can be anything. They can be inside post title, post content, post tags, custom field.
So, I did this: “cute cats” +”dangerous dogs”
Unfortunately, I am not getting the desired results.
But when I did cute cats +dangerous dogs (without quotes).
It returned posts which have cute birds and dangerous animals also, because this is not a exact search.I have tried different combinations like:
-> “cute cats +dangerous dogs”
-> “cute cats” “+dangerous dogs”
-> “cute cats” + “dangerous dogs” (space after +)Can anyone tell me what I am doing wrong here.
I am using Relevanssi with FacetWP plugin for searching.
Thanks.
- The topic ‘Using Boolean operators with Exact search’ is closed to new replies.