Yep you can. Although I'm not sure you can use a wildcard-prefix. (perhaps you can I'm just not sure) . I always use wildcard-suffixes.
Cheers, Geert-Jan 2011/1/23 Dennis Gearon <gear...@sbcglobal.net> > Is it possible to use ONE definition of a dynamic field type for inserting > mulitple dynamic fields of that type with different names? Or do I need a > seperate dynamic field definition for each eventual field? > > Can I do this? > <in schema.xml> > <field name="ALL_OTHER_STANDARD_FILEDS" type="OTHER_TYPES" > indexed="SOME_TIMES" stored="USUALLY"/> > <dynamicField name="*_i" type="int" indexed="true" stored="true"/> > . > . > </in schema.xml> > > > and then doing for insert > <add> > <doc> > <field name="ALL_OTHER_STANDARD_FILEDS">all their values<field> > <field name="customA_i">9802490824908<field> > <field name="customB_i">9809084<field> > <field name="customC_i">09845970011<field> > <field name="customD_i">09874523459870<field> > </doc> > </add> > > Dennis Gearon > > > Signature Warning > ---------------- > It is always a good idea to learn from your own mistakes. It is usually a > better > idea to learn from others’ mistakes, so you do not have to make them > yourself. > from 'http://blogs.techrepublic.com.com/security/?p=4501&tag=nl.e036' > > > EARTH has a Right To Life, > otherwise we all die. > >