[ http://issues.apache.org/jira/browse/NUTCH-301?page=all ]
Stefan Groschupf updated NUTCH-301: ----------------------------------- Attachment: CommonGramsCacheV1.patch Cache HashMap COMMON_TERMS in configuration instance. > CommonGrams loads analysis.common.terms.file for each query > ----------------------------------------------------------- > > Key: NUTCH-301 > URL: http://issues.apache.org/jira/browse/NUTCH-301 > Project: Nutch > Type: Improvement > Components: searcher > Versions: 0.8-dev > Reporter: Chris Schneider > Attachments: CommonGramsCacheV1.patch > > 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? -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira