[ https://issues.apache.org/jira/browse/SOLR-3277?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Hoss Man updated SOLR-3277: --------------------------- Fix Version/s: (was: 4.0) removing fixVersion=4.0 since there is no evidence that anyone is currently working on this issue. (this can certainly be revisited if volunteers step forward) > Dynamic fields do not respect concrete fields that happen to match a pattern. > ----------------------------------------------------------------------------- > > Key: SOLR-3277 > URL: https://issues.apache.org/jira/browse/SOLR-3277 > Project: Solr > Issue Type: Bug > Affects Versions: 3.6, 4.0-ALPHA > Reporter: Erick Erickson > Priority: Minor > > Here's a fragment of a schema file: > <fields> > <field name="id" type="string" indexed="true" stored="true" required="true" > /> > <field name="title_text" type="text_general" indexed="true" stored="true" > multiValued="false" /> > <field name="title_phonetic" type="phonetic" indexed="true" stored="true" > multiValued="false" /> > <dynamicField name="\*_text" type="text_general" indexed="true" > stored="false" /> > <dynamicField name="\*_phonetic" type="phonetic" indexed="true" > stored="false" /> > </fields> > <copyField source="\*_text" dest="\*_phonetic" /> > Here's an input doc: > <add> > <doc> > <field name="id">ID1</field> > <field name="title_text">1st Document</field> > <field name="description_text">Another field</field> > </doc> > </add> > OK, add the doc with the above schema, and to a q=*:*&fl=* > The response does NOT contain title_phonetic. > It looks like IndexSchema.registerCopyField won't notice that > title_phonetic is a non-dynamic field and make a title_text -> > title_phonetic mapping. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org