lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Robert Muir <>
Subject Re: [jira] [Commented] (SOLR-3737) StempelPolishStemFilterFactory can't find resource '/org/apache/lucene/analysis/pl/stemmer_20000.tbl'
Date Fri, 17 Aug 2012 02:46:17 GMT
On Thu, Aug 16, 2012 at 10:02 PM, Chris Hostetter
<> wrote:
> : Sorry, Solr is correct. When directly passed to ResourceLoader the path
> : is correct. The problem here is the way how ClasspathResourceLoader
> : handles this. It uses Class.getResource() to load and thats wrong,
> : because that one expects a "/" to be absolute. We have to fix this and
> : maybe fix some tests not giving absolute paths.
> I'm confused ... it looks like ultimately this specific bug was fixed by
> changing StempelPolishStemFilterFactory directly to not use the
> ResourceLoader at all, but Uwe's comments suggest that there is still a
> fundemental problem in ClasspathResourceLoader.
> Presumably that should get a new bug? Or was Uwe mistaken?

I think the bug was just in the factory (using "/"), likely i introduced it.

But I'm glad it came up, this datastructure is about 10MB in ram and
now its just 10MB rather than 10MB * #fieldsUsingItPerCore * #cores


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message