lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From franagan <franciscomjoaq...@gmail.com>
Subject Re: socket write error Solrj 4.3.1
Date Tue, 23 Jul 2013 21:20:53 GMT
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.

Mime
View raw message