我们想要索引丰富的文档(PDF)。我们正面临一些问题:
控制台日志
301836 [qtp2064029636-12] INFO org.apache.solr.update.processor.LogUpdateProcessor – [pdf] webapp=/solr path=/update/extract params={literal.created_at_d=2014-10-06T09:37:25Z&fmap.content=document_attachment_attachment&literal.id_i=17&literal.file_name_text=vij&literal.id=Attachment+17&literal.type=Attachment&literal.type=ActiveRecord::Base&literal.updated_at_d=2014-10-06T09:37:25Z&literal.class_name=Attachment&wt=ruby} {} 0 333
控制台中的索引
Backtrace: /home/kannan/.rvm/gems/ruby-1.9.3-p547@pdf_atch/gems/rsolr-1.0.10/lib/rsolr/client.rb:283:in `adapt_response'
/home/kannan/.rvm/gems/ruby-1.9.3-p547@pdf_atch/gems/rsolr-1.0.10/lib/rsolr/client.rb:190:in `execute'
/home/kannan/.rvm/gems/ruby-1.9.3-p547@pdf_atch/gems/rsolr-1.0.10/lib/rsolr/client.rb:176:in `send_and_receive'
/home/kannan/.rvm/gems/ruby-1.9.3-p547@pdf_atch/bundler/gems/sunspot-691b42e73bea/sunspot_rails/lib/sunspot/rails/solr_instrumentation.rb:16:in `block in send_and_receive_with_as_instrumentation'
/home/kannan/.rvm/gems/ruby-1.9.3-p547@pdf_atch/gems/activesupport-3.2.13/lib/active_support/notifications.rb:123:in `block in instrument'
/home/kannan/.rvm/gems/ruby-1.9.3-p547@pdf_atch/gems/activesupport-3.2.13/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
/home/kannan/.rvm/gems/ruby-1.9.3-p547@pdf_atch/gems/activesupport-3.2.13/lib/active_support/notifications.rb:123:in `instrument'
/home/kannan/.rvm/gems/ruby-1.9.3-p547@pdf_atch/bundler/gems/sunspot-691b42e73bea/sunspot_rails/lib/sunspot/rails/solr_instrumentation.rb:15:in `send_and_receive_with_as_instrumentation'
/home/kannan/.rvm/gems/ruby-1.9.3-p547@pdf_atch/bundler/gems/sunspot_cell-0c0b7f980b8c/lib/sunspot/rich_document.rb:41:in `add'
/home/kannan/.rvm/gems/ruby-1.9.3-p547@pdf_atch/bundler/gems/sunspot_cell-0c0b7f980b8c/lib/sunspot_cell/indexer.rb:25:in `block in add_documents'
/home/kannan/.rvm/gems/ruby-1.9.3-p547@pdf_atch/bundler/gems/sunspot_cell-0c0b7f980b8c/lib/sunspot_cell/indexer.rb:24:in `each'
from /home/kannan/.rvm/gems/ruby-1.9.3-p547@pdf_atch/gems/rsolr-1.0.10/lib/rsolr/client.rb:283:in `adapt_response'
from /home/kannan/.rvm/gems/ruby-1.9.3-p547@pdf_atch/gems/rsolr-1.0.10/lib/rsolr/client.rb:190:in `execute'
from /home/kannan/.rvm/gems/ruby-1.9.3-p547@pdf_atch/gems/rsolr-1.0.10/lib/rsolr/client.rb:176:in `send_and_receive'
from /home/kannan/.rvm/gems/ruby-1.9.3-p547@pdf_atch/bundler/gems/sunspot-691b42e73bea/sunspot_rails/lib/sunspot/rails/solr_instrumentation.rb:16:in `block in send_and_receive_with_as_instrumentation'
from /home/kannan/.rvm/gems/ruby-1.9.3-p547@pdf_atch/gems/activesupport-3.2.13/lib/active_support/notifications.rb:123:in `block in instrument'
答案 0 :(得分:0)