This seems like it's a JIRA, I couldn't find anything like this that's
already a JIRA on a quick look.

>From a client:

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.



Is this a JIRA or intended or "just not worth fixing"?

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to