better cache assignment for search/queries

Features wanted...
Post Reply
bossi
Posts: 144
Joined: 30 Jul 2022 11:09
Location: Win11-latest, XYx64 latest, 4K@100%

better cache assignment for search/queries

Post by bossi »

D:\path\root 120K images in total
D:\path\root\A 30K images
D:\path\root\B 30K images
D:\path\root\B 30K images
D:\path\root\D 30K images

cache search results set to : 99K

doing a query like :

Code: Select all

D:\path\root\A|D:\path\root\B? /flat 
creates cache entry under "D:\path\root\*"

Code: Select all

D:\path\root\C|D:\path\root\D? /flat 
will write into same cache

Problem :
- 2 separate queries on 2 separate tabs with different folders , never get properly cached as its treated as 1 query and it exceeds 99K limit
- A query into 2 different Volumes would resolve cache into "This PC" ?
- some hickup during caching can nuke whole cache for all folders

solution :
- resolve each Path to its true root during caching

edit .: my bad , this would propably need a complete revamp of caching logic ,,, fastest fix isto raise the hardset search-cache-limit from 100k -> 200K ( 500K would be also nice ) ... 100k XY handles like its nuthing , so why not :D

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

Re: better cache assignment for search/queries

Post by admin »

Next beta :)

Code: Select all

    * Configuration | Find and Filter | Find Files & Branch View | Find Files | Maximum 
      number of items cached (0 = cache always): Raised the possible max from 99,999 to 
      999,999. Your choice.
Btw, there was no hard-set limit since: "(0 = cache always)"

Post Reply