/** This method must be called by anything which directly extends Indexer. * See: http://benpryor.com/blog/2008/01/02/dont-call-subclass-methods-from-a-superclass-constructor/ */ protected void init() { FieldScore.init(); //init fields before constructing pipeline this.load_field_ids(); //construct pipeline using list specified in terrier.properties //this object should be the last item in the pipeline this.load_indexer_properties(); this.load_pipeline(); //load the docnos of any documents that should force builder boundaries this.load_builder_boundary_documents(); }