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.

Reply via email to