parses is important, perhaps a similar
isAnySuccess() function could help.
Regards,
Arkadi
-Original Message-
From: Sebastian Nagel [mailto:wastl.na...@googlemail.com]
Sent: Saturday, 18 April 2015 7:37 AM
To: user@nutch.apache.org
Subject: Re: A bug in org.apache.nutch.parse.ParseUtil
at 12:20 AM
To: user@nutch.apache.org user@nutch.apache.org
Subject: RE: A bug in org.apache.nutch.parse.ParseUtil?
Hi Sebastian,
Yes, I considered parseResult.isSuccess(), but the problem is, it returns
success only if all parses were successful. So, if the first parser
succeeds, it will break
Hi,
From reading the code it is clear that it is designed to allow using several
parsers to parse a document in a sequence, until it is successfully parsed. In
practice, this does not work because these lines
f (parseResult != null !parseResult.isEmpty())
return parseResult;
break
3 matches
Mail list logo