Is there some syntax to do such a combined search, e.g. by boolean operations, such that I could search Alice AND Bob or (Alice AND Bob) AND NOT Mallory? I am currently preparing next year’s family calendars and try to match the tagged people on the photographs with the recipients of the calendars, trying to select pictures of their individual children or grandchildren (big patchwork family), but I struggle a bit with the filtering as the number of pictures is large. While I could have several search fields, or several tag searches in the collections module, it would be much faster to just type in the names, maybe combined with some boolean keywords, to do such complex searches …
I checked the 4.8 manual, but I did not find any description of the collection filters module at all.
First, filter for Alice; then add a narrow down search filter for Bob (so only images that have both Alice and Bob are displayed). Or filter for Alice, add more images with Bob, then exclude images with Mallory, for example.
You can do something similar in collection filters, too: add new rule with tag Alice, then one more with or for Bob, and finally and not for Mallory:
The techniques you mention I know already, but these are exactly what is too cumbersome if you want to search for 4 people but not the other 4 people, and this repeatedly several times. I am explicitly searching for something I can enter into the text search, similar to the example above.
Yes, exactly this one. Thanks for making me feel stupid . I must admit that I looked inside the lighttable section and also in the module reference inside the lighttable section. I was not aware that the collection filters are a shared module, because they don’t show up in darkroom in my configuration (I assume shared means that they are shared between several views – I also failed to find an explanation of “shared” in the manual, even by using the search functionality). The search functionality may have helped with the collection filters, so I apologize and will do better next time.
Back to the topic, the manual does not describe any functionality that would help me, therefore I assume it is simply not there. However, if there is an undocumented way to make this kind of functionality work, it would be great to read about it.
Yes the method outlined by @kofa (as well as in the manual) is the only way to do this sort of complex query. What you’re asking for really is the ability to write some SQL and have that included in the database query, which I guess is possible to do, but perhaps a bit beyond most users to understand.