Uploaded image for project: 'Nutch'
  1. Nutch
  2. NUTCH-1497

Better default gora-sql-mapping.xml with larger field sizes for MySQL

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Won't Fix
    • Affects Version/s: 2.2
    • Fix Version/s: 2.3
    • Component/s: storage
    • Labels:
    • Environment:

      MySQL Backend

    • Patch Info:
      Patch Available

      Description

      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)?

        Attachments

        1. gora-mysql-mapping.xml
          3 kB
          James Sullivan
        2. gora-mysql-mapping.xml
          3 kB
          James Sullivan
        3. gora-mysql-mapping-patch
          3 kB
          James Sullivan

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              sully James Sullivan
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: