[jira] Closed: (NUTCH-65) index-more plugin can't parse large set of modification-date

2005-09-01 Thread Jerome Charron (JIRA)
 [ http://issues.apache.org/jira/browse/NUTCH-65?page=all ]
 
Jerome Charron closed NUTCH-65:
---

Resolution: Fixed

Patch committed (http://svn.apache.org/viewcvs.cgi?rev=265794view=rev)

 index-more plugin can't parse large set of  modification-date
 -

  Key: NUTCH-65
  URL: http://issues.apache.org/jira/browse/NUTCH-65
  Project: Nutch
 Type: Bug
   Components: indexer
 Versions: 0.7, 0.8-dev
  Environment: nutch 0.7, java 1.5, linux
 Reporter: Lutischán Ferenc
  Fix For: 0.8-dev
  Attachments: MoreIndexingFilter.diff, MoreIndexingFilter.java, 
 commons-lang-2.1.jar

 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 a 'patch'):
 Original (lines 137-138):
 DateFormat df = new SimpleDateFormat(EEE MMM dd HH:mm:ss  zzz);
 Date d = df.parse(date);
 New:
 DateFormat df = new SimpleDateFormat(EEE, MMM dd HH:mm:ss , Locale.US);
 Date d = df.parse(date.substring(0,25));
 The modified code works fine.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira



[jira] Closed: (NUTCH-65) index-more plugin can't parse large set of modification-date

2005-08-04 Thread Andrzej Bialecki (JIRA)
 [ http://issues.apache.org/jira/browse/NUTCH-65?page=all ]
 
Andrzej Bialecki  closed NUTCH-65:
--

Resolution: Fixed

Patches applied. Thanks!

 index-more plugin can't parse large set of  modification-date
 -

  Key: NUTCH-65
  URL: http://issues.apache.org/jira/browse/NUTCH-65
  Project: Nutch
 Type: Bug
   Components: indexer
  Environment: nutch 0.7, java 1.5, linux
 Reporter: Lutischán Ferenc


 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 a 'patch'):
 Original (lines 137-138):
 DateFormat df = new SimpleDateFormat(EEE MMM dd HH:mm:ss  zzz);
 Date d = df.parse(date);
 New:
 DateFormat df = new SimpleDateFormat(EEE, MMM dd HH:mm:ss , Locale.US);
 Date d = df.parse(date.substring(0,25));
 The modified code works fine.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira