Thanks to all the repos I clone, I have many 0-4 byte files, most of which are empty (or have just a windows CRLF).
I don't really want or need to index them.
Also, I don't know if just the file name actually contributes to a memory overhead if it's included in the indexed list.
Are you able to add a minimum size param to the content indexing options?
[Feat Request] Add minimum size to File Content Indexing
Re: [Feat Request] Add minimum size to File Content Indexing
There is a 8-17 byte overhead for storing content.I don't know if just the file name actually contributes to a memory overhead if it's included in the indexed list.
8 bytes for a reference pointer.
0-9 bytes for the length. (0 if there's no content,1 if the length < 255, 9 if the length is >= 255)
If you index 1 million empty files you are only looking at an extra 8MB of ram usage.
I will consider an option to do this.Are you able to add a minimum size param to the content indexing options?
Thank you for the suggestion.
Re: [Feat Request] Add minimum size to File Content Indexing
Hi void, did you ever do this?
I have thousands of 0-8 byte files which I'll never search contents for.
I have thousands of 0-8 byte files which I'll never search contents for.
Re: [Feat Request] Add minimum size to File Content Indexing
No.
I might add support for a minimum size in a future release.
For now, please consider a large content macro:
In Everything, from the Search menu, click Add to filters...
Change the Name to: Large Content
Change the Search to:
Change the Macro to: lc
Now you can search for lc: instead of content:
lc: will only match files with content and a file size larger than 8 bytes.
I might add support for a minimum size in a future release.
For now, please consider a large content macro:
In Everything, from the Search menu, click Add to filters...
Change the Name to: Large Content
Change the Search to:
size:>8 content:$param:Change the Macro to: lc
Now you can search for lc: instead of content:
lc: will only match files with content and a file size larger than 8 bytes.
Re: [Feat Request] Add minimum size to File Content Indexing
Thanks, thats working!