minor changes on lucene index schema: stores the docRef to help investigation on training set
removed unused imports
replaced deprecated fields for lucene