public synchronized ODictionary<ORecordInternal<?>> getDictionary() {
   OIndex<?> idx = getIndex(DICTIONARY_NAME);
   if (idx == null)
     idx =
         createIndex(
             DICTIONARY_NAME,
             OProperty.INDEX_TYPE.DICTIONARY.toString(),
             OType.STRING,
             null,
             null,
             null,
             false);
   return new ODictionary<ORecordInternal<?>>((OIndex<OIdentifiable>) idx);
 }
  public synchronized void create() {
    save(OStorage.CLUSTER_INTERNAL_NAME);
    getDatabase().getStorage().getConfiguration().indexMgrRecordId =
        document.getIdentity().toString();
    getDatabase().getStorage().getConfiguration().update();

    createIndex(
        DICTIONARY_NAME,
        OProperty.INDEX_TYPE.DICTIONARY.toString(),
        OType.STRING,
        null,
        null,
        null,
        false);
  }