lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ma, Xiaohui (NIH/NLM/LHC) [C]" <xiao...@mail.nlm.nih.gov>
Subject RE: PDF file
Date Tue, 10 Aug 2010 18:57:42 GMT
Does anyone have any experience with PDF file? I really appreciate your help!
Thanks so much in advance.

-----Original Message-----
From: Ma, Xiaohui (NIH/NLM/LHC) [C] 
Sent: Tuesday, August 10, 2010 10:37 AM
To: 'solr-user@lucene.apache.org'
Subject: PDF file

I have a lot of pdf files. I am trying to import pdf files to solr and index them. I added
ExtractingRequestHandler to solrconfig.xml. 

Please tell me if I need download some jar files. 

In the Solr1.4 Enterprise Search Server book, use following command to import a mccm.pdf.

curl 'http://localhost:8983/solr/solr-home/update/extract?map.content=text&map.stream_name=id&commit=true'
-F "file=@mccm.pdf"

Please tell me if there is a way to import pdf files from a directory.

Thanks so much for your help!


Mime
View raw message