You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Steve Rowe (JIRA)" <ji...@apache.org> on 2016/02/01 14:43:39 UTC

[jira] [Resolved] (SOLR-8624) Unable to create managed schema field matching an existing dynamic field

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

Steve Rowe resolved SOLR-8624.
------------------------------
       Resolution: Duplicate
         Assignee: Steve Rowe
    Fix Version/s:     (was: 5.5)

> Unable to create managed schema field matching an existing dynamic field
> ------------------------------------------------------------------------
>
>                 Key: SOLR-8624
>                 URL: https://issues.apache.org/jira/browse/SOLR-8624
>             Project: Solr
>          Issue Type: Bug
>          Components: Schema and Analysis
>    Affects Versions: 5.4.1
>            Reporter: Jan Høydahl
>            Assignee: Steve Rowe
>
> h3. Reproduce:
> # {{bin/solr create mycoll}}
> # Open http://localhost:8983/solr/#/mycoll/schema
> # Click button {{Add field}}
> # Enter field name {{mystring_s}} and select type {{string}}
> # Submit -> Error message *Field 'myfield_s' already exists.*
> h3. Resolution
> In {{ManagedIndexSchema#addFields}}, line #398, the test {{getFieldOrNull()}} will return both fields and dynamic fields. We need to check for ordinary fields only.



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

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