On Feb 3, 2007, at 11:18 AM, Yonik Seeley wrote:
Hmmm, classloader hell...
Yeah, I had a bad feeling about that external lib thing. It's a holy grail to allow dynamic pluggability in Java, but its much more difficult than it perhaps should be.
I assume you are putting your analyzer in solr/lib? Perhaps try to explode the solr webapp and put your custom analyzer directly in WEB-INF/lib/
I recommended this to Devon in the #code4lib room as well when he mentioned this to me. I'm curious to see how this resolves, as it would be mighty handy to allow external classes but from past experiences with classloaders I'd be surprised if this works out as well as we'd like.
Erik