[ 
https://issues.apache.org/jira/browse/SOLR-9487?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Sorin Gheorghiu updated SOLR-9487:
----------------------------------
    Attachment: Solr5.0_field_type.png

> Solr 6.x ignores field name="type" in schema.xml
> ------------------------------------------------
>
>                 Key: SOLR-9487
>                 URL: https://issues.apache.org/jira/browse/SOLR-9487
>             Project: Solr
>          Issue Type: Bug
>      Security Level: Public(Default Security Level. Issues are Public) 
>          Components: Schema and Analysis
>    Affects Versions: 6.1
>         Environment: Ubuntu 2.6.32-45-pve
>            Reporter: Sorin Gheorghiu
>              Labels: rsol, sunspot
>         Attachments: Solr5.0_field_type.png
>
>
> In order to use the Ruby Sunspot gem, a customised schema.xml should be used 
> [1]. The field "type" will exist in Solr 5.0 (in Schema Browser), but Solr 6.1
>     <field name="type" stored="false" type="string" multiValued="true" 
> indexed="true"/>
> As consequence, Sunspot will fail to seed data with the following error:
> RSolr::Error::Http: RSolr::Error::Http - 400 Bad Request
> Error: 'ERROR: [doc=Classification 1] unknown field \'type\'','code'=>400}}
> [1] 
> https://github.com/sunspot/sunspot/tree/master/sunspot_solr/solr/solr/configsets/sunspot/conf



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to