Request descendant-occurrence-count:

Discussion related to "Everything" 1.5 Alpha.
Post Reply
bit
Posts: 38
Joined: Fri Feb 17, 2023 8:57 am

Request descendant-occurrence-count:

Post by bit »

As we have child-occurrence-count:, child:, descendant:,
why no descendant-occurrence-count: ? :lol:
void
Developer
Posts: 16764
Joined: Fri Oct 16, 2009 11:31 pm

Re: Request descendant-occurrence-count:

Post by void »

child-occurrence-count updates in real-time.

It's too expensive to do this with descendant-occurrence-count:

I'll consider adding support for descendant-occurrence-count with some sort of caching system.

Thank you for the suggestion.
bit
Posts: 38
Joined: Fri Feb 17, 2023 8:57 am

Re: Request descendant-occurrence-count:

Post by bit »

void wrote: Mon Jun 05, 2023 10:06 am child-occurrence-count updates in real-time.
Does child-file-count: / child-folder-count: / child-count: also updates in real-time?
What about sibling-*-count:?
It feels like that the descendant-*-count: not update that quickly. Is it already used some cache? If so, occurrence-count for it is not unacceptable anyway.
void
Developer
Posts: 16764
Joined: Fri Oct 16, 2009 11:31 pm

Re: Request descendant-occurrence-count:

Post by void »

These properties are cached.
Pressing F5 will clear this cache.

They do not update in real-time.
void
Developer
Posts: 16764
Joined: Fri Oct 16, 2009 11:31 pm

Re: Request descendant-occurrence-count:

Post by void »

Everything 1.5.0.1351a adds a descendant-occurrence-count: search function.

I'm adding this for completeness sake.
Results will update in real-time.
Please don't expect good performance when using descendant-occurrence-count:

Example usage:

descendant:mp3 descendant-occurrence-count:>100
Post Reply