Re: AnalyzerFactory

2006-03-13 Thread Doug Cutting
Jérôme Charron wrote: It seems that the usage of AnalyzerFactory was removed while porting Indexer to map/reduce. (AnalyzerFactory is no more called in trunk code) Is it intentional? (if no, I have a patch that I can commit, so thanks to confirm) It was not intentional. Thanks for fixing

Null Pointer exception in AnalyzerFactory?

2006-03-13 Thread Chris Mattmann
/AnalyzerFactory.java I found that if I checked for null in the lang variable, and returned null if lang == null, that my crawl finished. Here is a small patch that will fix the crawl: Index: /Users/mattmann/src/nutch/src/java/org/apache/nutch/analysis/AnalyzerFactory .java

Re: Null Pointer exception in AnalyzerFactory?

2006-03-13 Thread Jérôme Charron
I updated to the latest SVN revision (385691) today, and I am now seeing a Null Pointer exception in the AnalyzerFactory.java class. Fixed (r385702). Thanks Chris. NOTE: not sure if returning null is the right thing to do here, but hey, at least it made my crawl finish! :-) It is the

AnalyzerFactory

2006-03-10 Thread Jérôme Charron
It seems that the usage of AnalyzerFactory was removed while porting Indexer to map/reduce. (AnalyzerFactory is no more called in trunk code) Is it intentional? (if no, I have a patch that I can commit, so thanks to confirm) Jérôme -- http://motrech.free.fr/ http://www.frutch.org/