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 importing. We also use MARC and XML.

Zisis


Στις 27/9/2017 5:52 PM, ο Erick Erickson έγραψε:
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

On Wed, Sep 27, 2017 at 3:07 AM, Zisis Simaioforidis <zsima...@gmail.com> wrote:
Is there a way to map a field value based on another field value without
replicatiing the columns in the CSV itself?

for example i tried : literal.title_fullStr=f.title_short but it doesn't
seem to work.

Thank you


Reply via email to