Forums › Forums › Search & Filter Pro › Can I combine AND and OR on one form?
Tagged: V3
- This topic has 10 replies, 3 voices, and was last updated 5 years, 1 month ago by Ross.
-
Trevor(Private) November 20, 2019 at 8:11 pm #227184
Thanks for the logins. I can see three fields. Search Text, Date and Category. At the moment you have them set to OR (each selection would therefore increase the results).
Where do you need the AND (where each selection would narrow the results)?
Trevor(Private) November 21, 2019 at 2:44 pm #227220Setting the form to how you have partly does this. Then, install the (free) Relevanssi plugin and set it like this:
https://www.screencast.com/t/vjsSNzXf8u
You can get it to search taxonomies as well. You must build the index in Relevanssi.
Then enable Relevanssi support (the first checkbox) on our Advanced tab.
Anonymous(Private) November 21, 2019 at 8:57 pm #227277I already had the paid Relevansii plugin activated and enabled. (Althought I do not see (in Relevansii) how to set Keyword Matching to “whole words”.)
Nevertheless, I am still baffled at how to perform the search that combines AND and OR!
Will I need two different search boxes or can I use operands in the single search box?
Sorry if I am being thick.
Anonymous(Private) November 21, 2019 at 9:36 pm #227287can you suggest anyone that I could hire to create a search feature that looks like this
https://www.ncbi.nlm.nih.gov/pubmed/advanced
i.e. generate a search like this: (((Gene) AND Drive) OR Tremblay) AND (“2011″[Date – Publication] : “2014”[Date – Publication])
-
AuthorPosts