Boolean Search Category (or so)

Please check the FAQ (https://www.xyplorer.com/faq.php) before posting a question...
admin
Site Admin
Posts: 66347
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Boolean Search Category (or so)

Post by admin »

While fiddling with the pesky portable device API ( :blackstorm: ) inspiration hit me full force. The "Boolean Search Category" (needs a better name!) will be a new *type* of category in the Catalog where the contained items constitute individual search patterns and have checkboxes in front. All ticked items will be combined by Boolean AND. The search is run by clicking the Category Icon (Find symbol), or optionally instantly on changing any of those checkmarks (= live search).

Example:

[ICON] My Boolean Search Category
  [X] tags:2014
  [X] tags:work
  [X] name:*.doc


Click on [ICON] will run the search:

Code: Select all

:tags:2014 AND tags:work AND name:*.doc
It's not yet a full-blown Tag Tree but pretty close to it! A click-approach to complex searching. The next world wonder. :beer:

EDIT: Remember that you can import/export Categories in the Catalog. This will become more useful than it ever was... :biggrin:

Sorry for lacking mock ups, later, just had the time now to hastily write it down...

binocular222
Posts: 1423
Joined: 04 Nov 2008 05:35
Location: Win11, Win10, 100% Scaling

Re: Boolean Search Category (or so)

Post by binocular222 »

Great!!
Some of my idea:
1) If the search is already active (after clicking the [Icon]), then tick/untick [x] would refresh the search
2) Visual filter or QNS or a full search?
3) Flexible list of [x] items (i.e: for Music folder, it would list "ABBA|mp3|Instrumental..."; for document folder, it would be "ABC client|pdf|sale...")
I'm a casual coder using AHK language. All of my xys scripts:
http://www.xyplorer.com/xyfc/viewtopic. ... 243#p82488

admin
Site Admin
Posts: 66347
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Boolean Search Category (or so)

Post by admin »

1) If the search is already active (after clicking the [Icon]), then tick/untick [x] would refresh the search
Yes -- that's what I meant by: "...optionally instantly on changing any of those checkmarks (= live search)."

2) Visual filter or QNS or a full search?
QNS

3) Flexible list of [x] items (i.e: for Music folder, it would list "ABBA|mp3|Instrumental..."; for document folder, it would be "ABC client|pdf|sale...")
Not necessary. There will be ways to quickly create a list. Still thinking about this... this will be phase 2...

Linkaday
Posts: 392
Joined: 06 Aug 2007 14:40
Location: Hamburg, Germany - Win 11 Home v25H2 x64 1920x1080 (100%)

Re: Boolean Search Category (or so)

Post by Linkaday »

I always was skeptical about virtualization in organsational things - i hate loosing sight on the physical location of things by fixing my eyes on the knots in my handkerchief, i feel pre-dementia. So i resisted to tags. But i think now is the time for tagging! :beer: :beer: :beer:

admin
Site Admin
Posts: 66347
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Boolean Search Category (or so)

Post by admin »

Right on! :beer:

Here are some more ideas:

The individual items in such a Category will trigger their own search pattern when clicked. So they will really "feel" like folders in the tree: you click them and you get a specific list of items. defined not by location but by a property or by a tag (= an assigned property). So, in a branch full of photos you can now quickly jump between listings of all images wider than 1000 pixels, of all images with aspect ratio 16:9, etc. Simply by left-clicking on that item that says "width: > 1000" or "Aspect ratio: 16:9". It's so natural. It's caveman. It's paleo. Godzilla could do it.

When you click the Category item itself then all ticked items are combined to a Boolean search pattern.
Search location is always the current location (always recursive I'd say).

There will be an option in the Category properties to confine the search to items in the tags database.

nerdweed
Posts: 648
Joined: 25 Feb 2012 07:47
Location: XY64 Latest Beta , Win 11, 96dpi, 100%

Re: Boolean Search Category (or so)

Post by nerdweed »

It can also be used as
LC - Boolean And (&&)
RC - Boolean OR (||)

It would be like Search places on Steroids.

kunkel321
Posts: 664
Joined: 10 Jun 2012 03:45
Location: Near Seattle

Re: Boolean Search Category (or so)

Post by kunkel321 »

Sounds pretty cool Don!
And ditto on Linkaday's comment. :lol:
ste(phen|ve) kunkel
Scaling: Main monitor 125%, Secondary monitor on the right 100%
OS: Win 10. XYplorer version: Latest beta, unless specified.

admin
Site Admin
Posts: 66347
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Boolean Search Category (or so)

Post by admin »

I'm busy with it the whole day. It coming on very nicely... :biggrin: :cup:

admin
Site Admin
Posts: 66347
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Boolean Search Category (or so)

Post by admin »

New name for it: Click And Search

Upload soon... :biggrin:

Here are some images:
ClickAndSearch.png
ClickAndSearchResults.png
To see the attached files, you need to log into the forum.

binocular222
Posts: 1423
Joined: 04 Nov 2008 05:35
Location: Win11, Win10, 100% Scaling

Re: Boolean Search Category (or so)

Post by binocular222 »

1) No check box?
Untitled20140510103059.png
2) Location filed = * only affect the parent category (QNS on the above screenshot) but has no effect (still search current location) on child items (png, jpg items on the above screehshot)
To see the attached files, you need to log into the forum.
I'm a casual coder using AHK language. All of my xys scripts:
http://www.xyplorer.com/xyfc/viewtopic. ... 243#p82488

admin
Site Admin
Posts: 66347
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Boolean Search Category (or so)

Post by admin »

1) Do you see checkboxes elsewhere in the app?
2) That's by design. I might think about it...

admin
Site Admin
Posts: 66347
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Boolean Search Category (or so)

Post by admin »

admin wrote:2) That's by design. I might think about it...
I changed it.

binocular222
Posts: 1423
Joined: 04 Nov 2008 05:35
Location: Win11, Win10, 100% Scaling

Re: Boolean Search Category (or so)

Post by binocular222 »

Extra tag - Y/N columns show checkboxes fine
I'm a casual coder using AHK language. All of my xys scripts:
http://www.xyplorer.com/xyfc/viewtopic. ... 243#p82488

admin
Site Admin
Posts: 66347
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Boolean Search Category (or so)

Post by admin »

Do you use Windows classic theme?

admin
Site Admin
Posts: 66347
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Boolean Search Category (or so)

Post by admin »

OK, got it. I guess you do you Classic theme... :)

Post Reply