For people who have same issue, solved solved adding:

<str name="fmap.content">text</str>

in the requestHandler /update/extract" in solrconfig.xml:

  <requestHandler name="/update/extract"
class="org.apache.solr.handler.extraction.ExtractingRequestHandler">
     <lst name="defaults">
      <str name="fmap.Last-Modified">last_modified</str>
      <str name="uprefix">ignored_</str>
     * <str name="fmap.content">text</str>*
    </lst>
    <lst name="date.formats">
      <str>yyyy-MM-dd</str>
    </lst>
  </requestHandler>

So no need to add content in solrj:

p.setParam("literal.text",handler.toString());

Regards



--
View this message in context: 
http://lucene.472066.n3.nabble.com/socket-write-error-Solrj-4-3-1-tp4079869p4079881.html
Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to