View Single Post
Old 07-21-2016, 08:09 AM   #6
chaley
Grand Sorcerer
chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.
 
Posts: 12,476
Karma: 8025702
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Quote:
Originally Posted by shalym View Post
Except when you do that, it does it as an "or" search--even if you explicitly type "and".

If you have a hard time using the mouse and keyboard at the same time, best is to just type in the explicit search. For example, in my library, I typed in "humor and mystery" into the search field. It picked up every book tagged with humor, and every book tagged with mystery, as well as the one book that includes both tags. However, when I type in
Code:
tags:"=Humor" and tags:"=Mystery"
I get the one book that includes both tags, which is what I was actually looking for.

Shari
This isn't correct. If you type A B (or A and B) then you get books with both A and B *somewhere in the metadata*. In your case I suspect that you are allowing calibre to search comments (Preferences / Searching / What to search by default) when you use an unprefixed search, and the comments contain the other word.

You can test this by adding a bizarre tag to one book, for example ARTJQP112345, then searching for "something ARTJQP112345" (without the quotes). Calibre will find at most the one book with the bizarre tag. It won't find anything if the "something" doesn't appear in at least one of the allowed metadata fields.
chaley is offline   Reply With Quote