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

Lewis John McGibbney commented on NUTCH-1439:
---------------------------------------------

Also copied over to 2.x branch and Committed @revision 1366170.
                
> Define boost field as type float in schema-solr4.xml
> ----------------------------------------------------
>
>                 Key: NUTCH-1439
>                 URL: https://issues.apache.org/jira/browse/NUTCH-1439
>             Project: Nutch
>          Issue Type: Bug
>          Components: indexer
>    Affects Versions: 1.5.1
>            Reporter: Lewis John McGibbney
>             Fix For: 1.6
>
>
> 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:
> {code}
> <field name="boost" type="string" stored="true" indexed="false"/>
> {code}
> Proposed:
> {code}
> <field name="boost" type="float" stored="true" indexed="false"/>
> {code}
> [0] http://www.mail-archive.com/user%40nutch.apache.org/msg07036.html

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to