lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steve Rowe (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (SOLR-8624) Unable to create managed schema field matching an existing dynamic field
Date Mon, 01 Feb 2016 13:43:39 GMT

     [ 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


Mime
View raw message