Is it possible to get Solr's DataImportHadler to ignore fields with empty strings?
问题 I am using Solr's DataImportHandler to import data from a database. Some of the records have empty strings if there is no value for that column. Currently the configuration I have produces Solr documents like this: { "x": "value", "y": "", "z": 2 } However I would like to ignore all fields that have no value so that documents like this are created: { "x": "value", "z": 2 } Is there something I can define in the configuration file for the DataImportHandler that will give me my desired results?