UpdateRequestProcessor is probably your best bet, because you can
choose to trigger them by name with import parameter.
Then you can probably use CloneFieldUpdateProcessorFactory.
Regards,
Alex.
http://www.solr-start.com/ - Resources for Solr users, new and experienced
On 27 September 2
So there is no way of telling SOLR to duplicate a column of CSV by just
using some parameters during the import request?
Just for the CSV.
The truth isĀ copyfield crosseb my mind but it's just too brute force
because it will affect all documents imported. And CSV is NOT the only
method we are
If you always want to do this exact thing, it looks like a copyField
directive in your schema.
If it has to be more nuanced, you can use something like
StatelessScriptUpdateProcessorFactory.
Both of these would affect _all_ documents coming in to Solr, so may
be too blunt a hammer.
Best,
Erick