nutch-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Sullivan (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (NUTCH-1497) Better default gora-sql-mapping.xml with larger field sizes for MySQL
Date Wed, 14 Nov 2012 09:00:17 GMT

    [ https://issues.apache.org/jira/browse/NUTCH-1497?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13496959#comment-13496959
] 

James Sullivan commented on NUTCH-1497:
---------------------------------------

I have attached it as a patch. Sorry it took so long. At it stands, MySQL
users will still have to rename it to gora-sql-mapping.xml in order to use
it.




On Mon, Nov 12, 2012 at 10:13 PM, Lewis John McGibbney (JIRA) <


                
> Better default gora-sql-mapping.xml with larger field sizes for MySQL
> ---------------------------------------------------------------------
>
>                 Key: NUTCH-1497
>                 URL: https://issues.apache.org/jira/browse/NUTCH-1497
>             Project: Nutch
>          Issue Type: Improvement
>          Components: storage
>    Affects Versions: 2.2
>         Environment: MySQL Backend
>            Reporter: James Sullivan
>            Priority: Minor
>              Labels: MySQL
>         Attachments: gora-mysql-mapping-patch, gora-mysql-mapping.xml, gora-mysql-mapping.xml
>
>
> The current generic default gora-sql-mapping.xml has field sizes that are too small in
almost all situations when used with MySQL. I have included a mapping which will work better
for MySQL (takes slightly more space but will be able to handle larger fields necessary for
real world use). Includes patch from Nutch-1490 and resolves the non-Unicode part of Nutch-1473.
I believe it is not possible to use the same gora-sql-mapping for both hsqldb and MySQL without
a significantly degraded lowest common denominator resulting. Should the user manually rename
the attached file to gora-sql-mapping.xml or is there a way to have Nutch automatically use
it when MySQL is selected in other configurations (Ivy.xml or gora.properties)?

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message