Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re: Full Text Search

by tinman (Curate)
on May 13, 2001 at 22:30 UTC ( #80080=note: print w/ replies, xml ) Need Help??


in reply to Full Text Search

It sounds like a fairly big task in itself.. I thought a bit about it and perhaps you could try one of the following approaches...

Firstly, if you need full text searching, its probably wise to build indexes first... searching all the PDF files on your server is going to take far too long, and you could run into scalability and concurrency issues..

So the solution would probably be to periodically convert the textual content of the PDF files into a text file, and index that text file... Text indexing is pretty well understood, and its fast, moreover, so this would probably be the most efficient method.. Just provide a link to the real PDF file in your search results

Another thing you could try is to convert the PDF to HTML (see the links below).. Have a converter program product HTML output, and then run an indexing tool like ht://Dig or something on the HTML output.. Then, your users can read the output in HTML, and if desired download the PDF format document.

These are some links I found that might make your life easier, mostly to do with PDF conversion from one form or another, but there are some links on how to convert PDF to other formats as well...
PDF tools
Perl modules for PDF conversion
HTH


Comment on Re: Full Text Search

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://80080]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (6)
As of 2014-09-21 23:00 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (176 votes), past polls