> I did a little digging and it appears that lang ends
> up being null (couldn't quite track down where lang
> should have been set). Not sure if it is a proper
> fix, but changing doc.getField("lang").stringValue()
> to doc.get("lang"), makes my little crawl complete.

lang is null cause you don't have activated the languageidentifier plugin.
While testing, I always activate it, so I simply miss this potential NPE.
Thanks for reporting problem / solution.
The correction is committed in trunk (
http://svn.apache.org/viewcvs.cgi?rev=264964&view=rev)

Regards

Jérôme

-- 
http://motrech.free.fr/
http://www.frutch.org/

Reply via email to