开发者

Index/Search PDF content with Solr

I'm experimenting with Solr开发者_如何学编程 and I've encountered this issue:

I've indexed a PDF document and when I search for ":" in the admin console, the PDF is listed. However when I search for content within the PDF I get no results.

To index the document, I used copy-and-paste code from: http://wiki.apache.org/solr/ContentStreamUpdateRequestExample


use this command

curl "http://localhost:8983/solr/update/extract?stream.file=/home/fstl/apache-solr-3.2.0/example/exampledocs/pup.pdf&stream.contentType=application/pdf&literal.id=esc.doc&commit=true" 
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜