View Single Post
Old 02-11-2024, 10:27 PM   #6
groob
Enthusiast
groob began at the beginning.
 
Posts: 37
Karma: 10
Join Date: Oct 2020
Device: Kindle Paperwhite (1)
Quote:
Originally Posted by chaley View Post
If your second post is the question you are asking, then this
Code:
#genre:"=.entertainment" and not #genre:"=entertainment"
or this
Code:
#genre:"~^entertainment\."
Thanks for your help,
I'll try to be more clear:
- I have some books that have the top category only, and some books that have the top category AND any of the subcategories.
- I need to search which books having the top category don't have any additional subcategories assigned.

So logically it would be: lookup the top category only AND exclude any subcategory, but again, my example and also your examples do not work.

To me this should be correct:
Code:
#genre:"=entertainment" AND NOT #genre:"=.entertainment"
but it's not.
groob is offline   Reply With Quote