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 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?

Thanks.

share|improve this question

1 Answer 1

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

 
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.