I have to add/update some fields in the document before indexing. How can I do?
I came across this question because the documents are sent from other applications and I should not touch these. The simplest thing I can think of is writing a script to manipulate the document before indexing.