Hi can someone please show me how to sort my content search within a folder (with multiple files) by the highest frequency/number of search hits.
I came across this post viewtopic.php?t=11025 but cannot figure how to get it to work (I'm very computer illiterate unfortunately can't really make sense of the regex flags search modifiers).
Thank you so much!
Sorting content search by frequency of search hits
-
- Posts: 3
- Joined: Sun Jul 28, 2024 3:24 am
Re: Sorting content search by frequency of search hits
An easier method:
addcolumn:a a:=STRINGCOUNT($content:,"foo") sort:a-descending
-
- Posts: 3
- Joined: Sun Jul 28, 2024 3:24 am
Re: Sorting content search by frequency of search hits
Hi do I just paste this line in the search bar?
If I want to search "Apple" in the contents of my files within "E:\Drive" is it
"E:\Drive" AND addcolumn:a a:=STRINGCOUNT($content:,"Apple") sort:a-descending
/are there any options feature I need to turn on? It's not returning any results...
Thank you so much!
If I want to search "Apple" in the contents of my files within "E:\Drive" is it
"E:\Drive" AND addcolumn:a a:=STRINGCOUNT($content:,"Apple") sort:a-descending
/are there any options feature I need to turn on? It's not returning any results...
Thank you so much!
Re: Sorting content search by frequency of search hits
Just paste it in the search bar.
I recommend combining it with other filters:
E:\Drive = Change this to a path on your E: drive.
doc: = match documents (change to *.txt or other specific extensions for improved performance)
Sorting progress is shown in the status bar on the right.
It will take several minutes for Everything to gather this information.
Try the following to ignore case:
STRINGCOUNT() examples
STRINGCOUNT()
I recommend combining it with other filters:
"E:\Drive" doc: addcolumn:a a:=STRINGCOUNT($content:,"Apple") sort:a-descending
E:\Drive = Change this to a path on your E: drive.
doc: = match documents (change to *.txt or other specific extensions for improved performance)
Sorting progress is shown in the status bar on the right.
It will take several minutes for Everything to gather this information.
Try the following to ignore case:
"E:\Drive" doc: addcolumn:a a:=STRINGCOUNT(REMOVEDIACRITICS(LOWER($content:)),"Apple") sort:a-descending
STRINGCOUNT() examples
STRINGCOUNT()
-
- Posts: 3
- Joined: Sun Jul 28, 2024 3:24 am
Re: Sorting content search by frequency of search hits
Got it working!! I realized I was still using Everything 1.4 and that's why it wasn't working.
Thank you so much!!
Thank you so much!!