You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@nutch.apache.org by "yoursoft@freemail.hu" <yo...@freemail.hu> on 2005/07/01 10:59:05 UTC
Bug in index-more plugin?
Dear List,
I found a problem in MoreIndexingFilter.java.
When I indexing segments, I get large list of error messages:
can't parse errorenous date: Wed, 10 Sep 2003 11:59:14 or
can't parse errorenous date: Wed, 10 Sep 2003 11:59:14GMT
I modifiing source code (I don't make 'patch'):
Original (lines 137-138):
DateFormat df = new SimpleDateFormat("EEE MMM dd HH:mm:ss yyyy zzz");
Date d = df.parse(date);
New:
DateFormat df = new SimpleDateFormat("EEE, MMM dd HH:mm:ss yyyy",
Locale.US);
Date d = df.parse(date.substring(0,25));
The modified code works fine.
Best Regards,
Ferenc
Re: Bug in index-more plugin?
Posted by "yoursoft@freemail.hu" <yo...@freemail.hu>.
Dear Stephan,
Thanks for url.
Stefan Groschupf wotte:
> You can find the nutch bug tracking here:
> http://issues.apache.org/jira/secure/BrowseProject.jspa?id=10680
> Cheers,
> Stefan
> Am 01.07.2005 um 11:42 schrieb yoursoft@freemail.hu:
Re: Bug in index-more plugin?
Posted by Stefan Groschupf <sg...@media-style.com>.
You can find the nutch bug tracking here:
http://issues.apache.org/jira/secure/BrowseProject.jspa?id=10680
Cheers,
Stefan
Am 01.07.2005 um 11:42 schrieb yoursoft@freemail.hu:
> Dear Stephan,
>
> I think this is a bug. Where I can open a bug? In wiki?
>
> Regards,
> Ferenc
>
> Stefan Groschupf wrotte:
>
>
>> Hi,
>> this was already mentioned under the topic 'index-more: can't
>> parse erroneous date'.
>> I suggest we open a bug and vote for this bug.
>> Can you open this bug? I will vote for it. :-)
>> Stefan
>>
>> Am 01.07.2005 um 10:59 schrieb yoursoft@freemail.hu:
>>
>>
>>> Dear List,
>>>
>>> I found a problem in MoreIndexingFilter.java.
>>> When I indexing segments, I get large list of error messages:
>>> can't parse errorenous date: Wed, 10 Sep 2003 11:59:14 or
>>> can't parse errorenous date: Wed, 10 Sep 2003 11:59:14GMT
>>>
>>> I modifiing source code (I don't make 'patch'):
>>> Original (lines 137-138):
>>> DateFormat df = new SimpleDateFormat("EEE MMM dd HH:mm:ss yyyy
>>> zzz");
>>> Date d = df.parse(date);
>>> New:
>>> DateFormat df = new SimpleDateFormat("EEE, MMM dd HH:mm:ss
>>> yyyy", Locale.US);
>>> Date d = df.parse(date.substring(0,25));
>>>
>>> The modified code works fine.
>>>
>>> Best Regards,
>>> Ferenc
>>>
>>>
>>>
>>
>>
>>
>>
>
>
>
Re: Bug in index-more plugin?
Posted by "yoursoft@freemail.hu" <yo...@freemail.hu>.
Dear Stephan,
I think this is a bug. Where I can open a bug? In wiki?
Regards,
Ferenc
Stefan Groschupf wrotte:
> Hi,
> this was already mentioned under the topic 'index-more: can't parse
> erroneous date'.
> I suggest we open a bug and vote for this bug.
> Can you open this bug? I will vote for it. :-)
> Stefan
>
> Am 01.07.2005 um 10:59 schrieb yoursoft@freemail.hu:
>
>> Dear List,
>>
>> I found a problem in MoreIndexingFilter.java.
>> When I indexing segments, I get large list of error messages:
>> can't parse errorenous date: Wed, 10 Sep 2003 11:59:14 or
>> can't parse errorenous date: Wed, 10 Sep 2003 11:59:14GMT
>>
>> I modifiing source code (I don't make 'patch'):
>> Original (lines 137-138):
>> DateFormat df = new SimpleDateFormat("EEE MMM dd HH:mm:ss yyyy zzz");
>> Date d = df.parse(date);
>> New:
>> DateFormat df = new SimpleDateFormat("EEE, MMM dd HH:mm:ss yyyy",
>> Locale.US);
>> Date d = df.parse(date.substring(0,25));
>>
>> The modified code works fine.
>>
>> Best Regards,
>> Ferenc
>>
>>
>
>
>
Re: Bug in index-more plugin?
Posted by Stefan Groschupf <sg...@media-style.com>.
Hi,
this was already mentioned under the topic 'index-more: can't parse
erroneous date'.
I suggest we open a bug and vote for this bug.
Can you open this bug? I will vote for it. :-)
Stefan
Am 01.07.2005 um 10:59 schrieb yoursoft@freemail.hu:
> Dear List,
>
> I found a problem in MoreIndexingFilter.java.
> When I indexing segments, I get large list of error messages:
> can't parse errorenous date: Wed, 10 Sep 2003 11:59:14 or
> can't parse errorenous date: Wed, 10 Sep 2003 11:59:14GMT
>
> I modifiing source code (I don't make 'patch'):
> Original (lines 137-138):
> DateFormat df = new SimpleDateFormat("EEE MMM dd HH:mm:ss yyyy zzz");
> Date d = df.parse(date);
> New:
> DateFormat df = new SimpleDateFormat("EEE, MMM dd HH:mm:ss yyyy",
> Locale.US);
> Date d = df.parse(date.substring(0,25));
>
> The modified code works fine.
>
> Best Regards,
> Ferenc
>
>