[ https://issues.apache.org/jira/browse/SOLR-1772?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12837939#action_12837939 ]
David Smiley commented on SOLR-1772: ------------------------------------ I was just talking to a Solr user who was confused that the empty string was being indexed at all, for fields that aren't even numbers. They thought this was equivalent to not sending it any value. I haven't verified this first hand but I believe it. Perhaps it would make sense for all fields types to ignore an empty string by default, and then if for some weird reason I can't contemplate, you could disable it for a certain field. Does that make sense? > UpdateProcessor to prune "empty" values > --------------------------------------- > > Key: SOLR-1772 > URL: https://issues.apache.org/jira/browse/SOLR-1772 > Project: Solr > Issue Type: Wish > Reporter: Hoss Man > > Users seem to frequently get confused when some FieldTypes (typically the > numeric ones) complain about invalid field values when the inadvertantly > index an empty string. > It would be cool to provide an UpdateProcessor that makes it easy to strip > out any fields being added as empty values ... it could be configured using > field (and/or field type) names or globs to select/ignore certain fields -- i > haven't thought it through all that hard -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.