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

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.5.1
    • 1.6
    • indexer
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: