Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I have it working, per se, but maybe I have chosen the wrong tool for the job.

Basically we have electronic copies of numerous books related to our industry.

What I wanted to do was create a searchable index of those books.

Unfortunately, many of the books are larger than the 30MB file size indexing limit, so they don't even get indexed. (I think there is a configuration to change this?)

Those that do however, I can search for them, find them, and am linked directly to them... But upon clicking the link, the entire PDF is downloaded, and it displays the PDF starting at page one instead of the page the search terms were found on.

Any suggestions or advice on how to approach this project? I am completely open...

I think the first question is "should I even bother trying to adapt the materials / google mini to work in this scenario?" and if so, "which approach is best?"

share|improve this question
add comment

migrated from serverfault.com Jun 16 '11 at 17:42

This question came from our site for professional system and network administrators.

3 Answers

I would probably stay away from the google mini approach to this and look into getting some content management software online. I'm personally fond of the Alfresco community edition. It might be a little too high end for your application though.

share|improve this answer
add comment

Not sure if this answer helps you. But here it goes:

Acrobat Pro as well as Acrobat Reader (even on Linux) do offer some "PDF open commandline parameters". These control how exactly the document is opened (which page, which zoom level, etc).

One of the things supported is to open a PDF with the search dialog open and the matching search words already clickable. Examples:

Acrobat and Acrobat Professional on Windows:

 acrobat.exe ^
   /a #search="superuser basketball supermodels" ^
   "d:\path\to\example.pdf"

Acrobat Reader on Windows:

 acrord32.exe ^
   /a #search="PDF computing searching" ^
   "d:\path\to\example.pdf"

Acrobat Reader on Linux:*

 acroread \
   /a #search="stackexchange football girls" \
   "/path/to/example.pdf"

On the Adobe website, search for "PDF Open Parameters" to locate the PDF manual describing all details about this functionality....

share|improve this answer
add comment
up vote 0 down vote accepted

My solution was to split the PDFs into individual pages. This works for me because I'm searching and serving reference materials, for example, a Dictionary.

If the user wants to know the definition of "apple" then searching apple will return the single PDF page the word and definition of apple appear on. That's all the user wants to know.

This wouldn't work so well if the paragraph spanned multiple pages - though as long as you keep your PDFs under 2.5MB, you can "package" any number of pages into a single PDF.

share|improve this answer
add comment

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.