[ https://issues.apache.org/jira/browse/NUTCH-682?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12668736#action_12668736 ]
Hudson commented on NUTCH-682: ------------------------------ Integrated in Nutch-trunk #709 (See [http://hudson.zones.apache.org/hudson/job/Nutch-trunk/709/]) - SOLR indexer does not set boost on the document. Patch by julien nioche > SOLR indexer does not set boost on the document > ----------------------------------------------- > > Key: NUTCH-682 > URL: https://issues.apache.org/jira/browse/NUTCH-682 > Project: Nutch > Issue Type: Bug > Components: injector > Affects Versions: 1.0.0 > Reporter: julien nioche > Fix For: 1.0.0 > > > the method org.apache.nutch.indexer.solr.SolrWriter.write(NutchDocument doc) > should call the method setDocumentBoost as illustrated below : > for(final Entry<String, List<String>> e : doc) { > for (final String val : e.getValue()) { > inputDoc.addField(e.getKey(), val); > } > } > inputDoc.setDocumentBoost(doc.getScore()); > as done by the LuceneWriter. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.