Say I have several photos showing Peter and/or Paul and have them correctly tagged. I now want to select all photos that show Peter and Paul. Photos that show only Peter or only Paul should not be visible.
Is this possible? I cannot find out how to do this.
āAdvanced searchā works if you want to search the whole collection. Donāt forget to make sure you use āIn Allā, not one of the other combinations.
If you want to filter on the names only in the current album/serach results, you can use the āfilterā module in the right sidebar, making sure you use āANDā to combine the two tags (āslidersā icon at the bottom of the module)
Both Advanced search and the filter module work for me.
Now the other way around. Is there a way to show only photos tagged Peter? If I search for that, it gives also the photos tagged Peter and Paul.
In the digiKam documentation, I donāt found any excluding manner to search like in databases something like that \+Peter AND NOT(Paul) . Maybe combining search tags and group?
You can do that kind of thing with the advanced search and multiple search groups:
first one selects āPeterā
second one selects āPaulā
for the second group, make sure combining mode is AND (not the initial OR), and pick either ānone of the following conditions is metā or āat least one ā¦ is not metā.
I think you can do any search for which you can create a boolean expression. That does not mean itās always easy to create that expression and translate it into search groupsā¦
Hi everyone,
This is a great discussion. Iām working on a new search engine for digiKam, and Iām trying out new ideas. Weāll keep the advanced search as it is now, but Iām experimenting with ideas for expanding the standard search.
From this thread I gather it would be nice to have some type of āNOTā operator by using either a NOT keyword or putting a ā-ā in front of the term you want to exclude.
Is this correct?
Also, are there other pieces of data that would useful to have in the standard search? A few examples would be including the camera make, camera model, lens, focal length, aperture, and ISO?
I donāt see any reset search feature in the panel to dismiss all of them. Iāve to open the modify panel to reset any active criteria.
Actually, Iāve saved my search with all criterias.
Hi Paul,
Since youāre a dev, Iāll share some more details. Iām going to borrow some ideas from Natural Language Processing for the new search. While it wonāt be a true NLP search, I think some of the tokenization and intent ideas will be useful. digiKam already uses the Boost library, so I can leverage Boost.locale for initial tokenization. I can then add a rudimentary lexical analyzer over the tokenization to allow the user to express more complex search criteria.
Iām open to other ideas and approaches if you have a better idea.