On 1/21/06, Jack Tang <[EMAIL PROTECTED]> wrote:
> Hi All
>
> I am wondering Analyzer of nutch in svn trunk is chosen by
> languageidentifer plugin or not? (I knew in nutch 0.7.1-dev it did).
>
> In org.apache.nutch.indexer.Indexer.class line 104
>
> writer.addDocument((Document)((ObjectWritable)value).get());
>
> It should be
>
> NutchAnalyzer analyzer = AnalyzerFactory.get(doc.get("lang"));
> writer.addDocument((Document)((ObjectWritable)value).get(), analyzer );
Sorry, it should be
Document doc = (Document)((ObjectWritable)value).get();
NutchAnalyzer analyzer = AnalyzerFactory.get(doc.get("lang"));
writer.addDocument(doc, analyzer);
> right?
>
> Once more,query parsing should call AnalyzerFactory?? The query input
> is multi-lingual also.
>
> Regards
> /Jack
> --
> Keep Discovering ... ...
> http://www.jroller.com/page/jmars
>
--
Keep Discovering ... ...
http://www.jroller.com/page/jmars
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&dat1642
_______________________________________________
Nutch-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nutch-developers