Search with excluding categories

Ask for help and post your question on how to use XnView MP.

Moderators: XnTriq, xnview

Posts: 15
Joined: Mon Mar 20, 2017 5:02 pm

Search with excluding categories

Postby Nimrodel » Sun Apr 30, 2017 6:18 pm


Recently I saw a topic in the forum XnView Classic with someone posting exactly the same question I was asking myself: Unfortunately there was no answer, so I post it here in MP quoting the question and hoping there will be an answer :wink:

"It would really be a great feature if there was a possibility to exclude some categories.
Ideally it would be just magical if user could construct his own searches with categories. Like you would like to find all pictures with keyword vacation that also include keywords for your wife or daughter but not with the beach keyword. That would make you cooler than ACDSee and Adobe Bridge.
Is it hard to implement? Shouldn't that be one of basic SQL features since XnView MP uses databases to store data?

User avatar
Posts: 1370
Joined: Wed Aug 16, 2006 6:31 am

Re: Search with excluding categories

Postby m.Th. » Mon May 01, 2017 7:12 am

It can be implemented - basically the two trees with categories (the one used for finding and assignment in Categories Pane AND the one used for filtering) should be merged and at the end of the newly created tree should be added a tree-state checkbox. The states are:

- checked: IN (included)
- not checked: NOT IN (excluded)
- grayed: - doesn't matter -

From SQL point of view the query can be constructed very simple by having the correspondent IN (myCatID1, myCatID2, myCatID3,...) and similar NOT IN clause. In fact it is more a string processing task which will build the SQL WHERE which will be passed to the DB. Details available for Pierre upon request.

Yep, of course it would be cooler than ACDSee and Bridge. ...and Lightroom (which is very slow on large datasets).

Already added in tracker here:

We hope that we'll see it in the new version. :D It is a very important and requested feature.
m. Th.

The Ascetic Experience - The best photos and texts from Holy Mountain (Athos)

- Dark Themed XnViewMP 0.86 64bit & XnView 2.00 x64 on Win7 x64 -

Posts: 15
Joined: Mon Mar 20, 2017 5:02 pm

Re: Search with excluding categories

Postby Nimrodel » Sun May 14, 2017 1:33 pm

Thanks for the answer, good to know that this is on the to-do list :)

Posts: 106
Joined: Mon May 01, 2017 8:06 am

Re: Search with excluding categories

Postby bdragon » Sun May 14, 2017 1:37 pm


Return to “MP - General Support”

Who is online

Users browsing this forum: No registered users and 2 guests