SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

We have a client using Sharepoint 2007 Enterprise search to crawl a load of documents on a file share. They want to associate additional properties with each crawled document. (These properties come from a separate store - e.g. given the path to a file, I can retrieve the properties for that file.) Then we can map these crawled properties to managed properties.

My first thought was to use BDC to access the properties for each file and then index this, but this loses the link between the file properties and the full-text search of the files themselves.

I've come across this relevant question on SO to which the response is "use a custom protocol handler". This sounds good, but I still don't know if this can hook into the regular full-text search, or if we'd have to reimplement the full-text search in the custom handler.

Has anyone implemented a custom protocol handler and can tell me whether it can be used alongside the regular full-text search?

Alternatively, can anyone suggest a different method for associating custom properties with files in a crawled file share?

share|improve this question

I looked at something very similar to this a long time ago, though did not end up implementing it. Our conclusion was the same as yours - a custom Protocol Handler was the way to go. I would recommend the Tisseghem/Fastrup book too.

Note that writing one is fairly involved looking, and seems to be often done in C++.

share|improve this answer
I've just acquired and had a look... It's good information, although I'm currently out of my depth. It doesn't help that the sample code no longer exists for download. – Rawling Jan 16 '12 at 16:06
... but it does exist elsewhere. I'm making some progress now :) – Rawling Jan 20 '12 at 14:31

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.