code: public void readFields(DataInput in) throws IOException {
      resetForm();
  
      int numDeleteTerms = in.readInt();
      for (int i = 0; i < numDeleteTerms; i++) {
        String field = Text.readString(in);
        String text = Text.readString(in);
        deleteList.add(new Term(field, text));
      }
  
      RAMDirectoryUtil.readRAMFiles(in, dir);
    }
docs: /* (non-Javadoc)
  @see org.apache.hadoop.io.Writable#readFields(java.io.DataInput)