The scope of AND and OR in the smart search
Posted: Thu Sep 08, 2022 3:22 am
I couldn't understand how the scope of OR and AND works in the Smart Search.
I want to filters books and Edited Books by a specific Author, call him Spencer. I am able to do using the Regex search:. It would have been easier/faster to do it with the regular smart search. I tried to emulate it like follows:
But, I am not getting the same result. The guide doesn't have much information on this. How does the scope of AND and OR works there?
I want to filters books and Edited Books by a specific Author, call him Spencer. I am able to do using the Regex search:
Code: Select all
(authors REGEX 'Spencer' OR editors REGEX 'Spencer') AND ("type" = 2 OR "type" = 6)
But, I am not getting the same result. The guide doesn't have much information on this. How does the scope of AND and OR works there?