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

CommonGrams loads analysis.common.terms.file for each query

    XMLWordPrintableJSON

Details

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

    Description

      The move away from static objects toward instance variables has resulted in CommonGrams constructor parsing its analysis.common.terms.file for each query. I'm not certain how large a performance impact this really is, but it seems like something you'd want to avoid doing for each query. Perhaps the solution is to keep around an instance of the CommonGrams object itself?

      Attachments

        1. CommonGramsCacheV1.patch
          0.9 kB
          Stefan Groschupf

        Activity

          People

            Unassigned Unassigned
            schmed Chris Schneider
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: