Trying to capitalize each word in a fields value. I initially tried the titleize function of Ruby, but that didn't work...I guess because it's not part of Ruby internals or something like that?
Ah, yes. The filter is calling the ruby .capitalize method on the entire field, which lowercases everything and then capitalizes the first character (so the first mutate is not needed). What we need to do is chop the field up into words, capitalize each one, then put them back together.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.