i've experimented with the KStem stuff in the past, and just pulled a fresh copy of solr from trunk
it looks like Hoss' suggestion #1 does the trick, by simply commenting out the super.init call...loaded the example data, tested some analysis, and it seems to work as before. just a confirmation, and thanks, rob On Fri, Nov 28, 2008 at 6:18 PM, Chris Hostetter <[EMAIL PROTECTED]> wrote: > > : /usr/local/build/apache-solr-1.3.0/src/java/org/apache/solr/analysis/ > : KStemFilterFactory.java:63: > : cannot find symbol > : [javac] symbol : method > : init(org.apache > : .solr.core.SolrConfig,java.util.Map<java.lang.String,java.lang.String>) > : [javac] location: class org.apache.solr.analysis.BaseTokenFilterFactory > : [javac] super.init(solrConfig, args); > : [javac] ^ > > that KStemFilterFactory seems to be trying to use a method that existed > for a while on the trunk, but was never released. > > i'm not familiary with KStemFilterFactory to know why/if it needs a > SolrConfig, but a few things you can try... > > 1) if there are no references to solrConfig anywhere except the init > method (and the super.init method it calls) just remove the refrences to > it (so the methods just deal with the Map) > > 2) if there are other refrences to the solrConfig, they *may* just be to > take advantage of ResourceLoader methods, so after making the changes > above, make KStemFilterFactory "implements ResourceLoaderAware" and then > add a method like this... > > public void inform(ResourceLoader loader) { > // code that used solrConfig should go here, but use loader > } > > ...it will get called after the init(Map<String,String>) method and let > KStemmFilterFactory get access to files on disk. > > 3) if that doesn't work ... i don't know what else to try (i'd need to get > a lot more familiar with KStem to guess) > > > > -Hoss > >