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

I am making a SharePoint 2010 web part that basically manages a document library of PDF documents.

One component that I am working on is searching through PDF documents. I tried a custom PDF dll (iTextSharp) that handles functions for PDF documents such as text extraction which then I did a "index_of" function on that for searching. However this had some bad side effects:

  • could get time_out errors for taking too long for all documents
  • the text extracted is inconsistent or had messed up characters and white spaces

My SharePoint 2010 has an ifilter for PDF documents, so it can search and index PDF files using the SharePoint search box. So is there a programmatic way utilize it in my web part? I want to be able to send a request to it, and maybe receive the data in maybe an XML format or something so I can build my own custom search result page.

Is this possible?


share|improve this question

SharePoint Search has several options available though none are exactly what you are looking for. There's the core API, the Search Web Service, and there's the out of the box functionality for customizing search that when combined with Search Scopes and Managed Properties can be surprisingly powerful.

The core functionality is pretty solid so it is entirely possible that you might not even need to write your own web part, but instead merely tweak properties on copies of the standard web parts.

share|improve this answer

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.