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

Basic Query Filter no more uses Configuration

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.8
    • 0.8
    • None
    • None

    Description

      Since NUTCH-169, the BasicIndexingFilter has no way to retrieve its configuration parameters (query.url.boost, query.anchor.boost, query.title.boost, query.host.boost, query.phrase.boost) : The setConf(Configuration) method is never called by the QueryFilters class.

      More generaly, we should provide a way for QueryFilter to be Configurable. Two solutions:
      1. The QueryFilters checks that a QueryFilter implements Configurable and then call the setConf() method.
      2. QueryFilter extends Configurable => all QueryFilter must implement Configurable.

      My preference goes to 1, and if there is no objection, I will commit a patch in the next few days.

      Attachments

        Activity

          People

            jerome.charron Jerome Charron
            jerome.charron Jerome Charron
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: