Nutch
  1. Nutch
  2. NUTCH-878

ScoringFilters should not override the injected score

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.2, nutchgora
    • Component/s: injector
    • Labels:
      None

      Description

      the method injectedScore in OPICScoringFilter (and also LinkAnalysisScoringFilter) should be modified in order not to override the score specified in the seed list metadata

      1. NUTCH-787.patch
        4 kB
        Julien Nioche
      2. NUTCH-787-1.2.patch
        2 kB
        Julien Nioche

        Activity

        Hide
        Julien Nioche added a comment -

        Patches for the branch 1.2 and trunk

        The scoring filters do not override the score set by the injector as it might have been set per URL in the seed list. This has for result that the LinkAnalysisScoringFilter now implicitely relies on the parameter db.score.injected and not on link.analyze.injected.score. Both had the same default value anyway.

        The patch for trunk also fixes the behaviour of the InjectorJob which now calls injectedscore() even if the URL has a custom score.

        Show
        Julien Nioche added a comment - Patches for the branch 1.2 and trunk The scoring filters do not override the score set by the injector as it might have been set per URL in the seed list. This has for result that the LinkAnalysisScoringFilter now implicitely relies on the parameter db.score.injected and not on link.analyze.injected.score. Both had the same default value anyway. The patch for trunk also fixes the behaviour of the InjectorJob which now calls injectedscore() even if the URL has a custom score.
        Hide
        Chris A. Mattmann added a comment -

        +1 from me, Julien, thanks!

        Show
        Chris A. Mattmann added a comment - +1 from me, Julien, thanks!
        Hide
        Julien Nioche added a comment -

        1.2 : Committed revision 984075.
        trunk : Committed revision 984082.

        Show
        Julien Nioche added a comment - 1.2 : Committed revision 984075. trunk : Committed revision 984082.

          People

          • Assignee:
            Julien Nioche
            Reporter:
            Julien Nioche
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development