Discussion:
Index or Not by File Type??
(too old to reply)
Hilary Cotter
2006-12-19 12:56:04 UTC
Permalink
a.. A. You have two options. The first is to remove the persistent handler
registry key for the extension for this document type. For instance to
prevent Word documents from being indexed remove this key:

HKEY_CLASSES_ROOT\.doc\PersistentHandler

or change it to something like this

HKEY_CLASSES_ROOT\.doc\XPersistentHandler

You can also add the following registry entries to the key

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\ContentIndex\Catalogs\Web\Scopes

Value Name c:\inetpub\wwwroot\*.txt Value Data ,,4

Here we are preventing any text files from being indexed in the root of our
default web site, and any of its subdirectories (this tip courtesy or
Matthew Folletti (matthewfoletti at hotmail.com)).
--
Hilary Cotter

Looking for a SQL Server replication book?
http://www.nwsu.com/0974973602.html

Looking for a FAQ on Indexing Services/SQL FTS
http://www.indexserverfaq.com
I'm pretty sure I know the answer, but have to ask. Is there a setting
that
will make a catalog not index a file because of its file type? I know I
should just move unwanted files into another directory, but there are
other
people that I have to deal with and I can't go into 1000 individual
documents
and exclude them. Well I could but Im not going to.
Like I said ...have to ask. Thanks..
--
David
Hilary Cotter
2006-12-19 21:08:49 UTC
Permalink
If you have index files with unknown extensions selected Indexing Services
will make a best effort to index all file types. If you have this option
there is little you can do to prevent a document from being indexed. If you
do not have this option checked then only documents with persistent handlers
will be indexed. So if your document type is being indexed and you do not
have the index files with unknown extensions selected you should remove the
persistent handler key from the document extension in the registry.

Does this make sense?
--
Hilary Cotter

Looking for a SQL Server replication book?
http://www.nwsu.com/0974973602.html

Looking for a FAQ on Indexing Services/SQL FTS
http://www.indexserverfaq.com
Can you tell me if I am able to add a file extension ( ex.. .wld) to the
registry and then set it so that it will tell indexing service not to
index
this extenstion?
Thanks....
--
David
Post by Hilary Cotter
a.. A. You have two options. The first is to remove the persistent handler
registry key for the extension for this document type. For instance to
HKEY_CLASSES_ROOT\.doc\PersistentHandler
or change it to something like this
HKEY_CLASSES_ROOT\.doc\XPersistentHandler
You can also add the following registry entries to the key
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\ContentIndex\Catalogs\Web\Scopes
Value Name c:\inetpub\wwwroot\*.txt Value Data ,,4
Here we are preventing any text files from being indexed in the root of our
default web site, and any of its subdirectories (this tip courtesy or
Matthew Folletti (matthewfoletti at hotmail.com)).
--
Hilary Cotter
Looking for a SQL Server replication book?
http://www.nwsu.com/0974973602.html
Looking for a FAQ on Indexing Services/SQL FTS
http://www.indexserverfaq.com
I'm pretty sure I know the answer, but have to ask. Is there a setting
that
will make a catalog not index a file because of its file type? I know I
should just move unwanted files into another directory, but there are
other
people that I have to deal with and I can't go into 1000 individual
documents
and exclude them. Well I could but Im not going to.
Like I said ...have to ask. Thanks..
--
David
Loading...