code: public void setKey(String field, byte[] key) throws IOException {
          int hash = Arrays.hashCode(field.getBytes());
          setKey(structure.keyHash2Index.get(hash), key);
      }
docs: Sets the key belonging to the given field.
  
  @param field
  the name of the field
  @param key
  the key to set
  @throws IOException