Not out of the box, as far as I know.

Custom UpdateRequestProcessor could possibly do some sort of expansion
of the field name by verifying the actual schema. Not sure if API
supports that level of flexibility. Or, for latest Solr, you can
request the list of known field names via REST and do client-side
expansion instead.

Regards,
   Alex.
Personal website: http://www.outerthoughts.com/
Current project: http://www.solr-start.com/ - Accelerating your Solr proficiency


On Tue, Apr 29, 2014 at 12:20 AM, Costi Muraru <costimur...@gmail.com> wrote:
> Hi guys,
>
> Would be possible, using Atomic Updates in SOLR4, to remove all fields
> matching a pattern? For instance something like:
>
> <add><doc>
>   <field name="id">100</field>
>   <*field name="*_name_i" update="set" null="true"></field>*
> </doc></add>
>
> Or something similar to remove certain fields in all documents.
>
> Thanks,
> Costi

Reply via email to