Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

I have a document library in which I need to crawl the columns within that library but not crawl the text within the documents themselves. The documents are OCR'd pdf's from a scanner. Is there a way to set this up?

share|improve this question

1 Answer 1

up vote 1 down vote accepted

By default SP won't index PDF unless you installed an iFilter to do so. So, if you don't have an iFilter, no need to worry, it won't get indexed.

On the other hand if you do have an iFilter for PDF indexing, you are in for some work to exclude only parts of a crawl, there are no "settings" you can configure for this type of scenario.

The only work around I can readily think of (and this is theory) would be to convert from a document library to a list with a document attachment, then in Central Administration exclude the document URL from search results. Anything containing that URL in search will be removed.

Since columns in a doc library will be linked with that document, the doc link would be a part of search results and thus removed from all indexes including your column entries.

As a list attachment it's just another column item and you would only be excluding that column link, not the others, so you should still be able to search on the other column data.

Outside of this, you will probably need to dig into the Search Object Model for a solution. For a large amount of items this is a lot of work, and if it needs to continually be updated, you probably need to look at automating it via the object model anyway.

If it didn't, help I hope it gave you some ideas.

share|improve this answer
    
Unfortunately we needed the iFilter with our server. We will be making a new web application for these documents, but we have to use a library and not a list. We have some automated solutions that need a library so I will look into the Search Object Model. Thank you for the ideas. –  sange Dec 2 '10 at 20:06

Your Answer

 
discard

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.