On Thu, Aug 16, 2012 at 10:02 PM, Chris Hostetter <[email protected]> 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 -- lucidworks.com --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
