Re: How to enable or disable component based on document field value in solrconfig.xml

2018-04-13 Thread Erick Erickson
Have you considered the StatelessScriptUpdateProcessorFactory? That allows you to do pretty much anything you want. Don't quite know whether TemplateUPdateProcessorFactory deals well with empty fields or not, but it might be worth a shot. And, of course, your ETL process could to that on the clie

How to enable or disable component based on document field value in solrconfig.xml

2018-04-13 Thread sarat chandra
We have a use case where we need to populate uniq field from multiple fields. Our solrconfig.xml file like below. ** * * * Code* * FullCode* * * * * * ExtendedCode* * FullCode* * * ** * _* * FullCode* * * ** The above configuration works fine if the document has both Cod