Added fields to indexer.java