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

Define boost field as type float in schema-solr4.xml

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.5.1
    • Fix Version/s: 1.6
    • Component/s: indexer
    • Labels:
      None

      Description

      As highlighted by shekhar sharma on user@ [0] there is an incorrectly defined field in the above file resulting in a ClassCastException when undertaking Solr tasks. The current and proposed solution is provided below

      Current:

      <field name="boost" type="string" stored="true" indexed="false"/>
      

      Proposed:

      <field name="boost" type="float" stored="true" indexed="false"/>
      

      [0] http://www.mail-archive.com/user%40nutch.apache.org/msg07036.html

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              lewismc Lewis John McGibbney
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: