View Single Post
Old 02-27-2018, 11:03 PM   #10
Adoby
Handy Elephant
Adoby ought to be getting tired of karma fortunes by now.Adoby ought to be getting tired of karma fortunes by now.Adoby ought to be getting tired of karma fortunes by now.Adoby ought to be getting tired of karma fortunes by now.Adoby ought to be getting tired of karma fortunes by now.Adoby ought to be getting tired of karma fortunes by now.Adoby ought to be getting tired of karma fortunes by now.Adoby ought to be getting tired of karma fortunes by now.Adoby ought to be getting tired of karma fortunes by now.Adoby ought to be getting tired of karma fortunes by now.Adoby ought to be getting tired of karma fortunes by now.
 
Adoby's Avatar
 
Posts: 1,737
Karma: 26785684
Join Date: Dec 2009
Location: Southern Sweden, far out in the quiet woods
Device: Samsung Galaxy Tab S8 Ultra
And I just take in account the actual results that Calibre give when I fill in the tags and create the VLs...

I did a minimal(?) test. Here are the results:

The minimal library contains four books with the following titles and tags:
"Grapes and Olives": Grapes, Olives
"Apples and Oranges": Apples, Oranges
"Apples and Lemons": Apples, Lemons
"Olives and Oranges": Olives, Oranges

There are three VLs with the following names and searches:
"NOT A AND NOT B": ((not tags:"=Apples") AND (not tags:"=Oranges"))
"NOT ( A OR B )": not (tags:"=Apples" OR tags:"=Oranges")
"NOT ( A AND B )": not (tags:"=Apples" AND tags:"=Oranges")

Results:
The VL "NOT A AND NOT B" contains one book: "Grapes and Olives"
The VL "NOT ( A OR B )" contains one book: "Grapes and Olives"
The VL "NOT ( A AND B )" contains all books EXCEPT the book "Apples and Oranges".

Comments:
The two VLs "NOT A AND NOT B" and "NOT ( A OR B )" seem to be functionally identical, and either can be used as the "Standard" VL in the OP.

The VL "NOT ( A AND B )" give the result you seem to expect from the VL "NOT A AND NOT B"?

Is there a bug in Calibre or do I do something wrong when I create the VLs or the tags?
Adoby is offline   Reply With Quote