The scope of AND and OR in the smart search

A place for users to ask each other questions, make suggestions, and discuss Bookends.
Post Reply
Dellu
Posts: 268
Joined: Sun Mar 27, 2016 5:30 am

The scope of AND and OR in the smart search

Post by Dellu »

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:

Code: Select all

 (authors REGEX 'Spencer' OR editors REGEX 'Spencer') AND ("type" = 2 OR "type" = 6)
. It would have been easier/faster to do it with the regular smart search. I tried to emulate it like follows:
09_08_22 at 10.25.45AM.png
09_08_22 at 10.25.45AM.png (31.88 KiB) Viewed 1201 times
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?
Jon
Site Admin
Posts: 10048
Joined: Tue Jul 13, 2004 6:27 pm
Location: Bethesda, MD
Contact:

Re: The scope of AND and OR in the smart search

Post by Jon »

The Find UI doesn't have the option to group searches, so they are executed sequentially as entered. As you see, you should use an SQL search if you want more complicated searches.

Jon
Sonny Software
Dellu
Posts: 268
Joined: Sun Mar 27, 2016 5:30 am

Re: The scope of AND and OR in the smart search

Post by Dellu »

OK; thanks
Post Reply