Add the feature to pre-process a field before indexing