I have hundreds of fields of the form in my schema.xml: 

 <field name="F10434" type="string" indexed="true" stored="true"
multiValued="true"/>
 <field name="B20215" type="string" indexed="true" stored="true"
multiValued="true"/>
  .....................

I also have a field 'text' that is set as the Default Search Field

    <field name="text" type="text" indexed="true" stored="false"
multiValued="true"/>

I populate this 'text' field using CopyField as: 

    <copyField source="*" dest="text"/>

This '*' worked so far. However, I now want to exclude some of the fields
from this i.e. I would like 'text' to contain everything (hundreds of
fields) except a few. Is there any way to do this?

One of the ways would be to specify the '*' explicitly e.g. 

    <copyField source="F10434" dest="text"/>
    <copyField source="B20215" dest="text"/>
     ............

and in this list I would exclude the ones I do not want. Is there an
alternative to this? (I would like an alternative because putting these
copyFields would be long and too difficult.


Thank you
O. O.




--
View this message in context: 
http://lucene.472066.n3.nabble.com/CopyField-Wildcard-Exception-possible-tp4155686.html
Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to