We would enjoy this feature as well, if you'd like to create a JIRA ticket.


On Thu, Aug 28, 2014 at 4:21 PM, O. Olson <olson_...@yahoo.it> wrote:

> 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.
>



-- 
I know what it is to be in need, and I know what it is to have plenty.  I
have learned the secret of being content in any and every situation,
whether well fed or hungry, whether living in plenty or in want.  I can do
all this through him who gives me strength.    *-Philippians 4:12-13*

Reply via email to