Uploaded image for project: 'Nutch'
  1. Nutch
  2. NUTCH-682

SOLR indexer does not set boost on the document

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.0.0
    • 1.0.0
    • injector
    • None

    Description

      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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            jnioche Julien Nioche
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: