Chee Wu wrote:
> Hi,
>     I am trying to add a new analyzer for Chinese,and I found the
> code below in the "org.apache.nutch.indexer.Indexer"
> 
> The question of mine is:
> For doc.get("lang"). Where and how can I  set the  "lang" property for

lang field is put there by language identifier plugin if it is active.

http://lucene.apache.org/nutch/apidocs-0.8.x/org/apache/nutch/analysis/lang/LanguageIndexingFilter.html

--
 Sami Siren

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Nutch-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nutch-general

Reply via email to