Discussion:
how to exclude directories from indexing?
(too old to reply)
Miroslav Pragl
2006-04-18 10:32:38 UTC
Permalink
Hi,
i've tried to exclude directories such as e:\profiles\*\Application data\*
or e:\profiles\*\cookies\* from search (the same way System index is made)
but I keep getting error about the path entered.

How the heck do I do this on directory basis in Indexing service (directory
attribute is not the way i like)?

Thx

Mirek
Jeff Cochran
2006-04-18 17:25:02 UTC
Permalink
Post by Miroslav Pragl
i've tried to exclude directories such as e:\profiles\*\Application data\*
or e:\profiles\*\cookies\* from search (the same way System index is made)
but I keep getting error about the path entered.
How the heck do I do this on directory basis in Indexing service (directory
attribute is not the way i like)?
You can exclude in three places. The first is excluded from results, often
done by modifying the Query to include a NOT clause. In Indexing Services
itself, you can simply not add those folders to the catalog. Instead of
adding c:\ for example, add c:\data, c:\files and c:\otherstuff, etc. In IIS
you can also uncheck the Index This Resource checkbox on a folder in the web
site/folder properties.

Jeff
Miroslav Pragl
2006-04-19 15:37:45 UTC
Permalink
1. not clause is not the solution (too late) - i want to preven catalogue
from growing to sky
2. per directory unchecking attributes is not the way - i'm indexing user
homes/profiles so there are hundreds of directories that come and go ... i
DO NEED WILDCARDS

You can see wildcard exclusions used in system catalogue but i just can't do
that feeling like an idiot

MP
Post by Jeff Cochran
Post by Miroslav Pragl
i've tried to exclude directories such as e:\profiles\*\Application data\*
or e:\profiles\*\cookies\* from search (the same way System index is made)
but I keep getting error about the path entered.
How the heck do I do this on directory basis in Indexing service (directory
attribute is not the way i like)?
You can exclude in three places. The first is excluded from results, often
done by modifying the Query to include a NOT clause. In Indexing Services
itself, you can simply not add those folders to the catalog. Instead of
adding c:\ for example, add c:\data, c:\files and c:\otherstuff, etc. In IIS
you can also uncheck the Index This Resource checkbox on a folder in the web
site/folder properties.
Jeff
Loading...