Content Index Filter Syntax

Discussion related to "Everything" 1.5 Alpha.
Post Reply
Jolly
Posts: 21
Joined: Fri Oct 25, 2019 10:19 pm

Content Index Filter Syntax

Post by Jolly »

I'm trying to figure out how to combine folder and file filter syntax, for indexing file content.
I'm not sure if the filter requires matching both the folder and the file sections, if they are processed independently, or what. It's especially confusing since the help docs for the file inclusion syntax lets us specify paths as well.

For example I would like to index the content for all files under:
1)
c:\scripts
c:\notes

but for
c:\3d\ only .scad files.

2)
Or full contents for the first two folders, but .scad files everywhere.

3) Example 1, but exclude any files with the .bak or extensions ending in ~ everywhere.


ALso, is it possible to temporarily override the "exclude not content indexed" setting?
void
Developer
Posts: 17310
Joined: Fri Oct 16, 2009 11:31 pm

Re: Content Index Filter Syntax

Post by void »

The filters are applied in the following order:
Include only folders
Exclude folders
Include only files
Exclude files


1)
c:\scripts
c:\notes

but for
c:\3d\ only .scad files.
Clear Include only folders
Clear Exclude folders
Set Include only files to:
C:\scripts\**;c:\notes\**;c:\3d\**.scad

Clear Exclude files

* = match any character (except \) any number of times
** = match any character any number of times.


2)
Or full contents for the first two folders, but .scad files everywhere.
Clear Include only folders
Clear Exclude folders
Set Include only files to:
C:\scripts\**;c:\notes\**;*.scad

Clear Exclude files


3) Example 1, but exclude any files with the .bak or extensions ending in ~ everywhere.
Clear Include only folders:
Clear Exclude folders:
Set Include only files to:
C:\scripts\**;c:\notes\**;c:\3d\**.scad

Set Exclude files to:
*.bak;*.~



ALso, is it possible to temporarily override the "exclude not content indexed" setting?
No.
Post Reply